THIS POST IS OUTDATED. Look at Install NodeJS and NPM on Ubuntu 16.04 instead.
Upon trying to run
npm install to download and install dependencies for the angular-seed app, I've gotten an error saying something about a legacy version of node:
npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! not ok code 0
This error happens when your system (most likely Ubuntu or Debian) call the NodeJS executable
nodejs instead of just
node. You can solve this by installing
$ sudo apt-get install nodejs-legacy
Keep in mind that you might need to run
npm install a couple of times since there are a few errors, too.