Created
February 5, 2014 02:51
-
-
Save startswithaj/8816698 to your computer and use it in GitHub Desktop.
NPM fixes
This file contains 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
# force update npm globally | |
npm update -gf | |
# fix brew symlinks | |
brew unlink node && brew link --overwrite node | |
# give current user permissions to npm config and install global install directory | |
sudo chown -R `whoami` /usr/local/lib/node_modules | |
sudo chown -R `whoami` ~/.npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment