NPM Permissions Are Broken On Linux: Here's The Fix
If you try to install a package globally on Linux through NPM you'll see a very common error message saying you don't have permission to access the folder, this is caused by your package manager and the way npm links it's binaries. When it's installed with sudo it requires sudo for it's operations which is really dangerous for installing applications like this, so today I'm going to show you a couple of simple fixes to deal with this such as nvm, webi and a brief mention of npx.
==========Support The Channel==========
► Patreon: https://www.patreon.com/brodierobertson
► Channel Membership: https://www.youtube.com/channel/UCld68syR8Wi-GY_n4CaoJGA/join
► SubscribeStar: https://www.subscribestar.com/brodierobertson
► Liberapay: https://liberapay.com/BrodieRobertson/
► Locals: https://brodierobetson.locals.com/
► Amazon USA: https://amzn.to/3d5gykF
► Download Brave: https://brave.com/bro479
► Join LBRY: https://lbry.tv/$/invite/@BrodieRobertson:5
► Join Minds: https://www.minds.com/register?referrer=brodierobertson
NVM GitHub: https://github.com/nvm-sh/nvm
Node Web Installer: https://webinstall.dev/node/
📚 LBRY Podcast: https://open.lbry.com/@TechOverTea:3
🎥 YouTube Podcast: https://www.youtube.com/c/TechOverTea
📺 BitTube: https://bittube.tv/profile/BrodieRobertson
📺 BitChute: https://www.bitchute.com/channel/agraFPUvUDeK/
🎤 Discord: https://discord.gg/PkMRVn9
🐦 Twitter: https://twitter.com/BrodieOnYoutube
🌐 Mastodon: https://mstdn.social/@BrodieOnLinux
✉️ Telegram: https://t.me/BrodieRobertson
🖥️ GitHub: https://github.com/BrodieRobertson
DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase we may receive a small commission or other compensation.
I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and related sites.
|Sensitivity||Normal - Content that is suitable for ages 16 and over|
1 week, 4 days ago
1 day, 4 hours ago
4 days, 4 hours ago
5 days, 3 hours ago
6 days, 4 hours ago
Warning - This video exceeds your sensitivity preference!
To dismiss this warning and continue to watch the video please click on the button below.
Note - Autoplay has been disabled for this video.