use*_*781 13 xcode node.js ios cordova ionic-framework
我试图通过运行在Mac OS X El Capitan 10.11上安装ios-deploy,sudo npm install -g ios-deploy最终出现此错误消息:
sh: line 1: 1106 Abort trap: 6 xcodebuild
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"
npm ERR! node v4.2.3
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! ios-deploy@1.8.3 preinstall: `./src/check_reqs.js && xcodebuild`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the ios-deploy@1.8.3 preinstall script './src/check_reqs.js && xcodebuild'.
npm ERR! This is most likely a problem with the ios-deploy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./src/check_reqs.js && xcodebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls ios-deploy
npm ERR! There is likely additional logging output above.
Run Code Online (Sandbox Code Playgroud)
为什么会失败?我该如何解决?
Bea*_*eat 41
这似乎是一个问题El Capitan.尝试:
npm install -g ios-deploy --unsafe-perm=true
Run Code Online (Sandbox Code Playgroud)
要么:
npm install -g ios-deploy --allow-root
Run Code Online (Sandbox Code Playgroud)
该解决方案是建议在有关GitHub的从IOS部署.
| 归档时间: |
|
| 查看次数: |
9361 次 |
| 最近记录: |