Trying to install polymer and bower

Posted March 18, 2015 2.6k views

I am following how to install polymer over on their website here:

When I get to the step to run this cmd:

bower init

I get this:

mike@Beer-Portfolio:~$ bower init
/usr/bin/env: node: No such file or directory
1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

How did you install Bower? It requires Node.js to be installed. For a guide on installing it, see:

If you installed Node.js from the Ubuntu repositories, it installs a nodejs binary but many programs, including Bower, expect it to be named simply node You can create a symlink between the two in order to allow Bower to find it:

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

And for more info on Bower itself, check out:

by Justin Ellingwood
Node.js is a popular Javascript platform that can be used to build web applications quickly and easily. Node.js uses Javascript on both the front-end and back-end to create a more consistent experience for developers. In this guide, we'll get you up and running with Node.js on an Ubuntu 14.04 server.