3 ms·
Great article. Writing my node.js project has exposed me to all of the things listed. One thing I have to say is that NPM is good, but good be better with it's
by penguinboy08 16y ago
Great article. Writing my node.js project has exposed me to all of the things listed.
One thing I have to say is that NPM is good, but good be better with it's distro integration. The ubuntu install has broken permissions by default, which forces me to install stuff with sudo. I haven't had the time to try and fix it.
- chapel 16y agoNPM >0.3.0 changed to requiring sudo while installing. The reason being that it simplifies things logistically as well it allows NPM to install modules as nobody, since you have to be sudo to do that.
- justincormack 16y agoI dont think its worth using the Ubuntu install its just too old. At the moment easiest to install by hand, and script something for production.
- nailer 16y agoHis issue (though not too obvious) is that NPM assumes /usr/local is writable by unprivileged users, which isn't secure or common in Linux distros or OS X. It's a bug in NPM, it should be fixed someday.