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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
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)