Nicolas Bouliane

Fixing "/usr/bin/env: node: No such file or directory" Posted on

After a fresh install of npm and bower, you may run into the following error while running bower install:

/usr/bin/env: node: No such file or directory

The fix on Ubuntu is very simple:

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