Open mmilinkov opened 8 years ago
Okay, so installing npm separately, and running npm install separately didn't work. I got a whole lot of error messages along the lines of:
npm WARN This failure might be due to the use of legacy binary "node"
I am pretty sure that the right way to install these on Jessie is:
sudo apt-get install nodejs npm
Note the 'nodejs' rather than 'node'
As per 1e587527, I think you actually need to install Node from http://node-arm.herokuapp.com/
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
At least in the version of Raspian Jesse I installed, node 0.10.29 is already installed. Running those commands results in an error, Fortunately, the obvious solution worked: apt-get remove nodejs npm
.
I need to double check what are the latest official instructions to install node on a Raspberry Pi. Thanks for the feedback!
When I followed the instructions and ran setup.sh I got an error:
Perhaps npm should be added to the list of things to install? E.g.