小编MPe*_*ira的帖子

使用 npm install -g appium 安装 appium 时未找到 .bin/authorize-ios

当我尝试使用安装 appium 时 npm install -g appium

我收到消息

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /usr/local/lib/node_modules/appium/node_modules/.bin/authorize-ios
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/appium/node_modules/.bin/authorize-ios'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Run Code Online (Sandbox Code Playgroud)

如果我再次运行安装,我会得到

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /usr/local/lib/node_modules/appium/build/lib/main.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod …
Run Code Online (Sandbox Code Playgroud)

macos appium npm-install appium-ios

9
推荐指数
2
解决办法
2908
查看次数

标签 统计

appium ×1

appium-ios ×1

macos ×1

npm-install ×1