Svenv.nl

Home Nodejs

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

In an attempt to install LESS using NPM I got the following error:

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

Turns out some folks at Debian decided to rename node to nodejs to solve some kind of naming issue. The solution? Simply install nodejs-legacy

apt-get install nodejs-legacy

This provides a simple symlink from node to nodejs

Have a nice day!

Published on May 14, 2015, 4:20 p.m.