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

Monday, May 9, 2016

Unable to install Cordova plugin- Failed to install 'cordova-plugin-camera':Error: EACCES: permission denied, open

npm ERR! Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova']
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'symlink',

npm ERR!   path: '../cordova/bin/cordova',
 Please try running this command again as root/Administrator.








followed these steps:


 npm i cordova@5.1.1 --g


Installing "cordova-plugin-camera" for android
Fetching plugin "cordova-plugin-compat" via npm
npm http GET https://registry.npmjs.org/cordova-plugin-compat
npm http 200 https://registry.npmjs.org/cordova-plugin-compat
Fetching from npm failed: EACCES: permission denied, open '/Users/in074811/.npm/cordova-plugin-compat/1.0.0/package/.npmignore'
Failed to install 'cordova-plugin-camera':Error: EACCES: permission denied, open





rm -rf ~/.npm

Then try, it should work

cordova plugin add https://github.com/apache/cordova-plugin-camera.git


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