4 ms·
Imagine having the a huge portion of the digital world internationally riding on your shoulders...
by MuffinFlavored 5y ago
Imagine having the a huge portion of the digital world internationally riding on your shoulders...
- deleted 5y ago[deleted]
- laurent92 5y agoImagine that guy has this big npm repository locally with all those dodgy libraries with uncontrolled origin, in their /lib/node_modules with root permissions. Wait, we all do, here.
- victor9000 5y agoYou can use a custom npm prefix to avoid the mess you're describing. So basically: See current prefix: > npm config get prefix Set prefix to something you can write to without sudo: > npm config set prefix /some/custom/path