我在OSX机器上运行appium。我使用下面的命令npm install -g appium安装了appium,我也安装了npm install wd,但是在从终端运行appium时,我收到了下面的错误。TypeError: fn must be a function at Function.Promise.promisify (/usr/local/lib/node_modules/appium<anonymous>
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) at simCommand$ (lib/simctl.js:22:11at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at getVersionWithoutRetry$ (lib/xcode.js:115:11)
at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runt