nandub/hubot-irc — Issue #14: hubot crashed when starting with irc adapter
Author: ccount
Created: 2012-01-21 18:42:37+00:00
State: open

Hi,

I am trying to run hubot with the irc adapter on Ubuntu Linux. I am using hubot 2.0.5, and have added the line

"hubot-irc": ">= 0.0.1",

to package.json and have then installed the irc adapter by invoking "npm install". The following happens:

~/apps/hubot % bin/hubot -a irc

[Sat, 21 Jan 2012 18:35:25 GMT] INFO Loading adapter irc
[Sat, 21 Jan 2012 18:35:25 GMT] INFO Loading scripts from /home/ccount/apps/hubot/scripts
[Sat, 21 Jan 2012 18:35:25 GMT] INFO Loading scripts from /home/ccount/apps/hubot/src/scripts
TypeError: Cannot call method 'split' of undefined
at IrcBot.run (/home/ccount/apps/hubot/node_modules/hubot-irc/src/irc.coffee:68:44)
at Robot.run (/home/ccount/apps/hubot/node_modules/hubot/src/robot.coffee:225:27)
at Object. (/home/ccount/apps/hubot/node_modules/hubot/bin/hubot:105:11)
at Object. (/home/ccount/apps/hubot/node_modules/hubot/bin/hubot:108:4)
at Module._compile (module.js:432:26)
at Object.run (/home/ccount/apps/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:66:25)
at /home/ccount/apps/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:147:29
at /home/ccount/apps/hubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:115:19
at [object Object]. (fs.js:115:5)
at [object Object].emit (events.js:64:17)