Last active
June 18, 2016 22:43
-
-
Save AlejoJamC/4df97fb1b65cdb0746dfceddd67fe73c to your computer and use it in GitHub Desktop.
Error using npm install -g
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
# Avoid this command | |
node index.js | |
# Using nodemon package | |
npm install -g nodemon | |
npm config get prefix | |
ls -la /usr/local | |
ls -la /usr/local/lib | |
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} | |
npm install nodemon -g | |
nodemon -v | |
nodemon | |
nodemon server.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gist with commands of my personal post: http://alejojamc.com/error-usando-npm-install-g/