{"action":"closed","issue":{"url":"https://api.github.com/repos/less/less.js/issues/2683","labels_url":"https://api.github.com/repos/less/less.js/issues/2683/labels{/name}","comments_url":"https://api.github.com/repos/less/less.js/issues/2683/comments","events_url":"https://api.github.com/repos/less/less.js/issues/2683/events","html_url":"https://github.com/less/less.js/issues/2683","id":105109856,"number":2683,"title":"How to tell lessc to use correct nodejs bin path","user":{"login":"anentropic","id":147840,"avatar_url":"https://avatars.githubusercontent.com/u/147840?v=3","gravatar_id":"","url":"https://api.github.com/users/anentropic","html_url":"https://github.com/anentropic","followers_url":"https://api.github.com/users/anentropic/followers","following_url":"https://api.github.com/users/anentropic/following{/other_user}","gists_url":"https://api.github.com/users/anentropic/gists{/gist_id}","starred_url":"https://api.github.com/users/anentropic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anentropic/subscriptions","organizations_url":"https://api.github.com/users/anentropic/orgs","repos_url":"https://api.github.com/users/anentropic/repos","events_url":"https://api.github.com/users/anentropic/events{/privacy}","received_events_url":"https://api.github.com/users/anentropic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-06T18:44:39Z","updated_at":"2015-09-06T18:51:41Z","closed_at":"2015-09-06T18:51:41Z","body":"I'm trying to get Less working with the Ubuntu package version of Node.js\r\n\r\n```\r\napt-get install -y nodejs\r\napt-get install -y npm\r\nnpm install -g less@'<2.0.0'\r\n```\r\n\r\nThis looks like it ought to work, but it doesn't. NPM works fine but `lessc` gives the following error:\r\n\r\n```\r\n/usr/bin/env: node: No such file or directory\r\n```\r\n\r\n...the problem is that the Ubuntu package installs Node.js as `nodejs` and Less is looking for a bin called `node` (in fact it's in the shebang line at the top of `lessc`).\r\n\r\nIs there any way to install Less so that it knows the correct Node.js path?\r\n\r\nI realise I could symlink or alias my `nodejs -> node` or hand-edit the `lessc` file... I'd just rather use a less hacky way if one exists."}}