NPM Tips and Tricks - Installing NodeJs - .npmrc config

preview_player
Показать описание

Ever wonder why you get EACCES without npm sudo? We can fix that and also provide other quick tips.

~~
Please note in order for you to run commands, you **must** update your .bash_profile
Then you can restart Terminal by either closing and restarting, or `exec bash`.

.bash_profile needs to have these two line..
export PATH="$PATH:/usr/local/bin/"
export PATH="/Users/ajonp/.npm-packages/bin/:$PATH"

Рекомендации по теме