flowdock/hubot-flowdock — Issue #3: unable to start hubot with flowdock adapter
Author: alexdean
Created: 2012-02-10 18:40:03+00:00
State: open

When installing a fresh hubot & hubot-flowdock, I'm unable to start the bot.

$ git clone git://github.com/github/hubot.git hubot.new
$ cd hubot.new
$ vi package.json # add dependecy "hubot-flowdock": ">= 0.0.1"
$ npm install
$ bin/hubot -a flowdock -d

Output:

[Fri, 10 Feb 2012 18:38:12 GMT] ERROR Cannot load adapter flowdock - Error: Cannot find module 'hubot'
[Fri, 10 Feb 2012 18:38:12 GMT] INFO Loading scripts from /home/tedconf/src/hubot.new/scripts
[Fri, 10 Feb 2012 18:38:12 GMT] INFO Loading scripts from /home/tedconf/src/hubot.new/src/scripts
TypeError: Cannot call method 'run' of null
at Robot.run (/home/tedconf/src/hubot.new/src/robot.coffee:281:27)
at Object. (/home/tedconf/src/hubot.new/bin/hubot:81:11)
at Object. (/home/tedconf/src/hubot.new/bin/hubot:83:4)
at Module._compile (module.js:411:26)
at Object.run (/usr/lib/node_modules/coffee-script/lib/coffee-script.js:57:25)
at /usr/lib/node_modules/coffee-script/lib/command.js:147:29
at /usr/lib/node_modules/coffee-script/lib/command.js:115:26
at [object Object]. (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:878:12)

Not sure what to do next. The hubot will start OK when using the shell adapter.