github/hubot — Issue #62: require.paths is removed
Author: gsf
Created: 2011-10-26 20:46:03+00:00
State: open

For node 0.6, which should be coming along any day now (okay, sometime in November), require.paths is removed. Testing with 0.5.9, I get the following error from `bin/hubot`:

$ bin/hubot
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (/home/gsf/git/hubot/bin/hubot:4:10)
at Object. (/home/gsf/git/hubot/bin/hubot:104:4)
at Module._compile (module.js:432:26)
at Object.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script.js:57:25)
at /usr/local/lib/node_modules/coffee-script/lib/command.js:147:29
at /usr/local/lib/node_modules/coffee-script/lib/command.js:115:26
at [object Object]. (fs.js:108:5)
at [object Object].emit (events.js:64:17)
at afterRead (fs.js:1073:12)
$ node --version
v0.5.9