Closed brendannee closed 7 years ago
For anyone using nvm or other local node environments we don't use sudo whatsoever. Same thing applies to when used in a Docker container. A lot of newer node users will end up using nvm, read instructions like these that recommend sudo, then wonder why things are broken/not working for them.
I tend not to include sudo in instructions because of this. For users that need it, they can choose to prepend it.
@rgbkrk Rather than breaking the instructions for Ubuntu users, we should add a section for nvm
and docker
users (though, I don't follow why sudo
wouldn't work for nvm
users).
I don't follow why sudo wouldn't work for nvm users
sudo
will be the system environment rather than their nvm environment (default or some configured install).
In Ubuntu (unless configured otherwise)
npm install -g ijavascript
requires admin rights.Or am I missing something?
BTW, I've been preparing an update of the documentation. You can find it in the dev branch.