Old topic but the problem keeps
This should be fixed at a long time ago but are not.
Here is the solution:
http://www.onurguzel.com/install-less-on-ubuntu-with-npm/Because the command name of the
node.js is
nodejs (instead of
node) on Ubuntu, when the installation is complete, you need to change this first line of
lessc command.
Open
/usr/local/bin/lessc with your favorite text editor (with root privileges), and change the end of the first line from
node to
nodejs.
-#!/usr/bin/env node
+#!/usr/bin/env nodejs