Wednesday, December 21, 2016

Fixing npm permission for the Mac.

Just run this below command to do that

- npm config set prefix /usr/local
- sudo chown -R `whoami` /usr/local/

https://docs.npmjs.com/getting-started/fixing-npm-permissions

Hope this helps.

No comments:

Post a Comment