macos-ionic cordova构建android:UnhandledPromisejectionWarning:错误:生成EACCES
我正在尝试在ionic上构建android应用程序,但我遇到了以下错误:macos-ionic cordova构建android:UnhandledPromisejectionWarning:错误:生成EACCES,android,macos,cordova,ionic-framework,spawn,Android,Macos,Cordova,Ionic Framework,Spawn,我正在尝试在ionic上构建android应用程序,但我遇到了以下错误: (node:68392) UnhandledPromiseRejectionWarning: Error: spawn EACCES at _errnoException (util.js:992:11) at ChildProcess.spawn (internal/child_process.js:323:11) at Object.exports.spawn (child_process.js
(node:68392) UnhandledPromiseRejectionWarning: Error: spawn EACCES
at _errnoException (util.js:992:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:502:9)
at Object.exports.spawn
(/usr/local/lib/node_modules/cordova/node_modules/cordova-common/src/superspawn.js:134:31) at runScriptViaChildProcessSpawn
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:225:23) at runScript
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:166:16) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:132:20 at _fulfilled
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/q/q.js:749:13)
(node:68392) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:68392) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
彼此彼此。这是一个最近的问题。我降级了一些依赖项,但还没有解决问题。