markstory/hubot-xmpp — Issue #5: Cannot find module 'hubot' with hubot 2.0.7
Author: brunoqc
Created: 2011-12-20 15:49:30+00:00
State: open

I got `Cannot find module 'hubot'` while doing (with hubot 2.0.7) :

git clone https://github.com/github/hubot.git
cd hubot
I Added `"hubot-xmpp": ">= 0.0.4"` to package.json
npm install
sudo npm install -g coffee-script
make test

$ bin/hubot -a xmpp
[Tue, 20 Dec 2011 15:45:58 GMT] INFO Loading adapter xmpp
[Tue, 20 Dec 2011 15:45:58 GMT] ERROR Cannot load adapter xmpp - Error: Cannot find module 'hubot'
[Tue, 20 Dec 2011 15:45:58 GMT] INFO Loading scripts from /home/bbigras/hubot/scripts
[Tue, 20 Dec 2011 15:45:58 GMT] INFO Loading scripts from /home/bbigras/hubot/src/scripts
TypeError: Cannot call method 'run' of null
at Robot.run (/home/bbigras/hubot/src/robot.coffee:238:27)
at Object. (/home/bbigras/hubot/bin/hubot:105:11)
at Object. (/home/bbigras/hubot/bin/hubot:108:4)
at Module._compile (module.js:432:26)
at Object.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:68:25)
at /usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:135:29
at /usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:110:18
at [object Object]. (fs.js:114:5)
at [object Object].emit (events.js:64:17)
at afterRead (fs.js:1081:12)