ios-deploy 安装的时候 npm ERR! errno 65

npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! [email protected] preinstall: `./src/scripts/check_reqs.js && xcodebuild`
npm ERR! Exit status 65
npm ERR! 
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXXX/.npm/_logs/2018-08-27T02_39_49_338Z-debug.log

解决方法 :sudo npm install -g ios-deploy --unsafe-perm=true

你可能感兴趣的:(ios-deploy 安装的时候 npm ERR! errno 65)