Last active
August 29, 2015 14:09
-
-
Save rodleviton/13306cfe69312c3d4b93 to your computer and use it in GitHub Desktop.
NPM Sudo Fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You need to reclaim ownership of the .npm directory | |
sudo chown -R <username> ~/.npm | |
# And need the write permission in node_modules directory | |
sudo chown -R <username> /usr/local/lib/node_modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment