appium 启动报错 [Fatal TypeError: Class constructor BaseDriver cannot be invoked without 'new']

求助,启动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] (C:\Users\kingrein\AppData\Roaming\npm\node_modules\appium\node_mo
dules\_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\kingrein\AppData\Roaming\npm\node_m
odules\appium\node_modules\_babel-runtime@5.8.24@babel-runtime\regenerator\runtime.js:100:21)
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)

关闭