(1)

« npm -g » do not install with sudo

NPM by default is really dumb and has its default prefix set to /usr/local (or /usr). This is the best configuration to mess up with your distribution package manager. (But Javascript guys seem to not be concerned with distribution constraints everything…)

You can check with :

npm conf get prefix

Continue reading

Page top