Re:What it's like building a real website in Node.js
by justincormack on Monday February 28, 2011 @06:09AM
(#2270877)
I 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.
Re:What it's like building a real website in Node.js
by nailer on Monday February 28, 2011 @07:37AM
(#2271010)
His 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.
Re:What it's like building a real website in Node.js
by chapel on Monday February 28, 2011 @09:34AM
(#2271291)
NPM >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.
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.