Using node with Debian and Ubuntu.
If installed using nvm, the following package still needs to be installed to avoid node-gyp
rebuild errors when installing some packages.
sudo apt-get install -y build-essential
See https://github.com/nodesource/distributions/blob/master/OLDER_DISTROS.md for using Node >= 4.x => sudo apt-get install -y gcc-4.8 g++-4.8
https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=22938