求助,启动 appium 时,报如下错误,在社区里也找不到相关答案。。。。。非常感谢
PS C:\Windows\system32> appium
[Appium] Welcome to Appium v1.9.1
(node:11200) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the B
uffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Fatal TypeError: Class constructor BaseDriver cannot be invoked without 'new'
at new AppiumDriver (C:\Users\kingrein\AppData\Roaming\npm\node_modules\appium\lib\appium.js:131:19)
at main$ (C:\Users\kingrein\AppData\Roaming\npm\node_modules\appium\lib\main.js:124:16)
at tryCatch (C:\Users\kingrein\AppData\Roaming\npm\node_modules\appium\node_modules_babel-runtime@5.8.24@babel-runt
ime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at GeneratorFunctionPrototype.invoke (C:\Users\kingrein\AppData\Roaming\npm\node_modules\appium\node_modules_babel-
runtime@5.8.24@babel-runtime\regenerator\runtime.js:136:37)


↙↙↙阅读原文可查看相关链接,并与作者交流