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 UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
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)