1

I've installed Cordova using sudo npm install cordova and set up the paths (I believe) correctly. When I run cordova platform add android I am receiving the following error:

Error: EACCES, open '/home/millerbr/.cordova/lib/npm_cache/cordova-android/3.6.4/package/.npmignore'

I've been looking at other similar problems, and a few solved theirs using "chown" on the folders relevant to their problem - is there something similar I can do for this?

reVerse
  • 34,477
  • 21
  • 90
  • 83
millerbr
  • 2,940
  • 1
  • 12
  • 23

1 Answers1

1

As it turned out, it was indeed a permissions issue. Running sudo chown -R $(whoami) ~/.npm seems to be allowing me to progress

millerbr
  • 2,940
  • 1
  • 12
  • 23