标签:git callback nod str 1.9 anon arch was inter
错误信息:
CordovaError: Promise rejected with non-error: ‘ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \‘npm install -g ios-deploy\‘‘ at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7) CordovaError: Promise rejected with non-error: ‘ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \‘npm install -g ios-deploy\‘‘ at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7) CordovaError: Promise rejected with non-error: ‘ios-deploy was not found. Please download, build and install version 1.9.2 or greater from https://github.com/phonegap/ios-deploy into your path, or do \‘npm install -g ios-deploy\‘‘ at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at <anonymous> at process._tickCallback (internal/process/next_tick.js:189:7) ** ARCHIVE FAILED **
发生情况:在OSX里面执行Cordova编译命令时候发生。
错误原因:没能安装“ios-deploy”这个node插件。
解决办法:安装它就好了,用下面命令安装,如果第一个命令安装失败,那么用第二个命令安装。
sudo npm install -g ios-deploy
如果上面命令安装失败,那么使用下面命令:
sudo npm install -g ios-deploy --unsafe-perm=true
ios-deploy官方网站:
https://github.com/ios-control/ios-deploy
Cordova - CordovaError: Promise rejected with non-error: 'ios-deploy was not found
标签:git callback nod str 1.9 anon arch was inter
原文地址:https://www.cnblogs.com/sunylat/p/9919758.html