pford68 / gulp-scaffold

Scaffolding for my Gulp projects, done the way I like it, instead of the way Yeoman likes it.
MIT License
0 stars 0 forks source link

Address the EACCES errors when installing some modules #6

Closed pford68 closed 8 years ago

pford68 commented 8 years ago

This is a problem affecting my Mac, but which interferes with scaffolding apps like Yeoman.

pford68 commented 8 years ago

I changed the owner on ~/.npm and all subdirectories to me.

pford68 commented 8 years ago

I still had EACCES errors on brfs and envify (without sudo) after the previous step. I fixed them by:

  1. Updating NPM to 3.5.2
  2. Blowing away node_modules and running npm install to reinstall all dependencies from package.json.
  3. Then installing brfs and envify withoutsudo.