Как настроить компьютер, ноутбук, модем, роутер
Добро пожаловать
Вход / Регистрация

NPM Permissions On Linux Are Broken: Here's The Fix

Спасибо! Поделитесь с друзьями!

URL

Вам не понравилось видео. Спасибо за то что поделились своим мнением!

Sorry, only registred users can create playlists.
URL


Добавлено by Admin В Программы
0 Просмотры

Описание

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

► Paypal: https://www.paypal.me/BrodieRobertsonVideo

► 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/

==========Affiliate Links==========
► 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

==========Resources==========
NVM GitHub: https://github.com/nvm-sh/nvm

Node Web Installer: https://webinstall.dev/node/

NPX: https://www.npmjs.com/package/npx

=========Video Platforms==========

Написать комментарий

Комментарии

Комментариев нет.
RSS