本文主要是介绍ionic platform add时报Error: spawn EACCES错误,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
转自VC错误:http://www.vcerror.com/?p=2002问题描述:
Error: spawn EACCES
at exports._errnoException (util.js:746:11)
at ChildProcess.spawn (child_process.js:1155:11)
at Object.exports.spawn (child_process.js:988:9)
at Object.exports.spawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:100:31)
at runScriptViaChildProcessSpawn (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:188:23)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:131:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:114:20
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=2002
这篇关于ionic platform add时报Error: spawn EACCES错误的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!