miroof
Participant
Post count: 6

Hi Zombiebraut,

What is your node and npm version ?

You can check it with:

node --version
npm --version

Here are the steps I followed to install Node and npm:


# Download and unpack Node.js
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28-linux-arm-pi.tar.gz
tar -xvzf node-v0.10.28-linux-arm-pi.tar.gz
rm -r node-v0.10.28-linux-arm-pi.tar.gz

# Move sources and create sym links
sudo mv node-v0.10.28-linux-arm-pi /opt/node

sudo mkdir /opt/bin

sudo ln -s /opt/node/bin/* /opt/bin/

# Add binaries to the PATH, add this line at the end of '/etc/profile' file
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"

# test
npm --version

# Install node-gyp
npm install -g node-gyp

I remember that I encountered some issues by installing nodeJS and npm directly with aptitude.

Miroof