Last active
December 2, 2015 08:56
-
-
Save anistark/eb4c52a989eea04a83dc to your computer and use it in GitHub Desktop.
npm throws error without sudo
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
sudo chown -R $(whoami) ~/.npm | |
sudo chown -R `whoami` /usr/local/lib/node_modules | |
sudo sysctl fs.inotify.max_user_watches=524288 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment