I tried installing zerorpc package on node using \'npm install zerorpc\' and I am getting following error. The error is because node-gyp fails to rebuild.
npm ht
I upgraded it to 4.3.0 version using
sudo npm cache clean -f sudo npm install -g n sudo n 4.3.0
and then I used
sudo npm install zerorpc
and it worked!
As for the bash: '/usr/bin/node: No such file or directory' error, I did
sudo apt-get install node-legacy