22 ms·
> NPM reminds you do "sudon't" if you run it as root. To install NPM itself, you either get a bunch of 'sudont' errors or have the app fail with the normal, se
by nailer 16y ago
> NPM reminds you do "sudon't" if you run it as root.
To install NPM itself, you either get a bunch of 'sudont' errors or have the app fail with the normal, secure /usr/local permissions when it can't write there.
Try it.
- mnutt 16y agoI ran into this a few days ago. I ended up reinstalling node with a prefix of ~/local, and then when I built npm it automatically used the same prefix.