Bower complains about missing NodeJS on Ubuntu

Posted . Visible to the public.

If bower complains about a missing node binary, do not install Ubuntu's node package.

Instead, you need to create a symlink that points to the binary one of the nodejs package:

sudo ln -s /usr/bin/nodejs /usr/bin/node

You probably already installed NodeJS. In case you did not:

sudo apt-get install nodejs

If you already installed the node Ubuntu package, bower will just do nothing (i.e. not show any input, or respond to any switches) and you need to uninstall that package first.

Arne Hartherz
Last edit
Arne Hartherz
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2014-11-20 17:13)