Learn Android for Free,issues for developers, mobengineers website provide complete solutions for developers issues posts.It also provides online training for android development

Tuesday, November 14, 2017

Error: spawn EACCES ionic cordova add plugin issue

Failed to install 'onesignal-cordova-plugin': Error: spawn EACCES
    at exports._errnoException (util.js:1018:11)
    at ChildProcess.spawn (internal/child_process.js:319:11)
    at Object.exports.spawn (child_process.js:378:9)
    at Object.exports.spawn (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
    at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/lib/builders/GradleBuilder.js:245:27
    at _fulfilled (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:854:54)
    at self.promiseDispatch.done (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:883:30)
    at Promise.promise.promiseDispatch (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:816:13)
    at /Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:877:14
    at runSingle (/Users/srinivas/Documents/Educational/version2/Pregnancy/platforms/android/cordova/node_modules/q/q.js:137:13)

Error: spawn EACCES


Solution :

Remove the platform Android and reinstall

ionic cordova platform rm android

add android again //6.1.x has a bug
ionic platform add android@6.2.2 




0 coment�rios:

Post a Comment

20% off

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

NDTV Gadgets360

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts