twitter/bootstrap — Issue #505: lessc compiler doesn't work with latest node
Author: milani
Created: 2011-10-28 08:59:16+00:00
State: open

Hi,

I installed less with `npm install less -g` . It doesn't work with latest node version ( mine is 0.5.10 ):

The "sys" module is now called "util". It should have a similar interface.

```sh
node.js:202
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (/usr/local/lib/node_modules/less/bin/lessc:7:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array. (module.js:470:10)
at EventEmitter._tickCallback (node.js:194:26)
The "sys" module is now called "util". It should have a similar interface.

node.js:202
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (/usr/local/lib/node_modules/less/bin/lessc:7:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array. (module.js:470:10)
at EventEmitter._tickCallback (node.js:194:26)
```

I couldn't find repository of this module on github so I'm reporting it here.