2
所以我努力學習科爾多瓦/ PhoneGap的,我正在學習「建設」。在此基礎上,我下面的教程中,我需要須藤NPM安裝-g IOS-SIM卡。之後它成功了,教程告訴我要安裝ios-deploy。我還做了須藤NPM安裝-g IOS部署和有一個錯誤想出了:須藤NPM安裝-g IOS部署錯誤
Desktop/Cordova/myApp$ sudo npm install -g ios-deploy
npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] ./src/scripts/check_reqs.js && xcodebuild /usr/local/lib/node_modules/.staging/ios-deploy-298c9491
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"
npm ERR! node v6.7.0
npm ERR! npm v3.10.3
npm ERR! path /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/jasoncuray/Desktop/Cordova/myApp/npm-debug.log
任何人都可以請幫我這個?我是新手,試圖從教程中學習。謝謝!我正在使用Macbook Pro 2015,所有安裝都是在我遵循的教程之前完成的。