NPM Tips and Tricks - Installing NodeJs - .npmrc config

Опубликовано: 03 Октябрь 2024
на канале: CodingCatDev
18,011
88

🎓 Lesson: https://ajonp.com/lessons/3-npm/

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"

🎥 YouTube: https://link.ajonp.com/youtube
🌎 Site: https://link.ajonp.com/😺
📦 GitHub: https://link.ajonp.com/github
🎓Lessons: https://link.ajonp.com/lessons
🗞AJ’s Week in Web: https://link.ajonp.com/week-in-web
💬 Slack: https://link.ajonp.com/slack
🐦 Twitter: https://link.ajonp.com/twitter
💬 Slack: https://bit.ly/ajonp-slack-invite
🐦 Twitter: https://bit.ly/ajonp-twitter