Closed MattWilcox closed 10 years ago
I believe http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu is related to your issue. In short, try sudo apt-get install nodejs-legacy
.
Yes, the second answer is right. Some install scripts expect there a binary called node
to be present whereby Ubuntu installs it as nodejs
. A symlink will take care of that.
Thanks both. Was asked on Twitter to create an Issue so this could be addressed, that's solved my problem!
I wonder if there might be a tidier way of dealing with Debian/Ubuntu users to either make them aware of this without raising an issue or getting it done automatically? :)
After installing the pre-requisites the npm install command produces a number of errors on Debian/Ubuntu systems. This seems to be because the project is assuming 'node' as the application name when in Debian/Ubuntu it is 'nodejs'. I'm new to npm etc so I don't know if this is a problem with the web-starter-kit or something else. Here's sample output from the command line: