github/hubot — Issue #132: Can't start hubot on debian
Author: stuartf
Created: 2011-11-01 14:44:04+00:00
State: open

I'm following the README, so I run 'npm install' and that completes successfully, then I run 'bin/hubot' and get an error:

bin/hubot: line 6: /home/stuart/src/hubot/node_modules/.bin/hubot: No such file or directory
bin/hubot: line 6: exec: /home/stuart/src/hubot/node_modules/.bin/hubot: cannot execute: No such file or directory

Some google searching reveals that 'npm bundle' will create that, so I run it and it completes successfully. Then I run 'bin/hubot' again and get:

TypeError: object is not a function
at RegExp.CALL_NON_FUNCTION (native)
at contains_expr (/home/stuart/src/hubot/node_modules/.npm/optparse/1.0.1/package/lib/optparse.js:144:23)
at build_rules (/home/stuart/src/hubot/node_modules/.npm/optparse/1.0.1/package/lib/optparse.js:77:13)
at Object.parse (/home/stuart/src/hubot/node_modules/.npm/optparse/1.0.1/package/lib/optparse.js:224:21)
at Object. (/home/stuart/src/hubot/node_modules/.npm/hubot/1.1.9/package/bin/hubot:46:10)
at Object. (/home/stuart/src/hubot/node_modules/.npm/hubot/1.1.9/package/bin/hubot:91:4)
at Module._compile (module.js:411:26)
at Object.run (/home/stuart/src/hubot/node_modules/.npm/coffee-script/1.1.1/package/lib/coffee-script.js:62:19)
at /home/stuart/src/hubot/node_modules/.npm/coffee-script/1.1.1/package/lib/command.js:120:29
at /home/stuart/src/hubot/node_modules/.npm/coffee-script/1.1.1/package/lib/command.js:90:26