{"issue":{"created_at":"2011-12-14T09:42:53Z","state":"open","updated_at":"2011-12-14T19:39:19Z","user":{"gravatar_id":"0797402e2558924b62845d0ac0fddbb3","id":85355,"url":"https://api.github.com/users/lookfirst","login":"lookfirst","avatar_url":"https://secure.gravatar.com/avatar/0797402e2558924b62845d0ac0fddbb3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":7,"body":"OSX 10.7\r\nnodejs 0.6.5 installed via the OSX package from the nodejs.org website.\r\nless installed with 'sudo npm install -g less'\r\n\r\nThis puts everything into /usr/local/bin and /usr/local/lib/node_modules\r\n\r\nThis error doesn't happen if I cd /usr/local/bin, first.\r\n\r\nOther tools such as coffee-script work fine in any directory.\r\n\r\ncd ~\r\nlessc\r\nThe \"sys\" module is now called \"util\". It should have a similar interface.\r\n\r\nnode.js:201\r\n        throw e; // process.nextTick error, or 'error' event on first tick\r\n              ^\r\nError: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.\r\n    at Function.<anonymous> (module.js:376:11)\r\n    at Object.<anonymous> (/usr/lib/node_modules/less/bin/lessc:7:8)\r\n    at Module._compile (module.js:432:26)\r\n    at Object..js (module.js:450:10)\r\n    at Module.load (module.js:351:31)\r\n    at Function._load (module.js:310:12)\r\n    at Array.0 (module.js:470:10)\r\n    at EventEmitter._tickCallback (node.js:192:40)","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2549342,"labels":[],"number":523,"title":"node 0.6.5 + less 1.1.6 fail to run anywhere but /usr/local/bin","html_url":"https://github.com/cloudhead/less.js/issues/523","closed_at":null,"url":"https://api.github.com/repos/cloudhead/less.js/issues/523","milestone":null},"action":"created","comment":{"created_at":"2011-12-14T19:39:19Z","updated_at":"2011-12-14T19:39:19Z","user":{"gravatar_id":"38ddcefff0db3bd04a6fc06e31d1c01d","id":40774,"url":"https://api.github.com/users/cloudhead","login":"cloudhead","avatar_url":"https://secure.gravatar.com/avatar/38ddcefff0db3bd04a6fc06e31d1c01d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"but how about just `lessc -v` ?","id":3147295,"url":"https://api.github.com/repos/cloudhead/less.js/issues/comments/3147295"}}