You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's true it fixes many more things than just adding sudo to things, but it does add sudo to things. it's the very first entry in the readme and it's also all over the code
however, that really wasn't my point. I was trying to point out that if you configured your npmrc with a prefix to your home directory, you would not need to sudo npm install anything because your user would always have permission to their home directory
You are heading in the right direction but I fear you are not seeing the whole picture.
"Don't use sudo" does not combine with "use the fuck" because the fuck uses sudo. So really, you shouldn't be using either.
The proper way to fix permissions problems with npm is to create an ~/.npmrc with a prefix to $home
https://docs.npmjs.com/files/npmrc
The text was updated successfully, but these errors were encountered: