Read more

Bower complains about missing NodeJS on Ubuntu

Arne Hartherz
November 20, 2014Software engineer at makandra GmbH

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

Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot

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.

Posted by Arne Hartherz to makandra dev (2014-11-20 18:13)