flowdock/hubot-flowdock — Issue #6: TypeError: Object #<Object> has no method 'isArray'
Author: philipp-spiess
Created: 2012-03-05 17:15:00+00:00
State: open

Hey,

I receive this error everytime I try to run hubot. I've set up Hubot on Heroku, and also tried to reinstall the whole system, but I continue getting this exception, here is a little dump hope this can help you.

2012-03-05T17:08:46+00:00 heroku[web.1]: Starting process with command `bin/hubot -a flowdock -n Hubot`
2012-03-05T17:08:46+00:00 app[web.1]: bin/hubot: 3: npm: not found
2012-03-05T17:08:47+00:00 app[web.1]: [Mon, 05 Mar 2012 17:08:47 GMT] INFO Loading scripts from /app/scripts
2012-03-05T17:08:47+00:00 app[web.1]: [Mon, 05 Mar 2012 17:08:47 GMT] INFO Loading scripts from /app/src/scripts
2012-03-05T17:08:48+00:00 app[web.1]: [Mon, 05 Mar 2012 17:08:48 GMT] INFO Loading hubot-scripts from /app/node_modules/hubot-scripts/src/scripts
2012-03-05T17:08:48+00:00 app[web.1]:
2012-03-05T17:08:48+00:00 app[web.1]: ^
2012-03-05T17:08:48+00:00 app[web.1]: if (!util.isArray(flows)) flows = [flows];
2012-03-05T17:08:48+00:00 app[web.1]: /app/node_modules/hubot-flowdock/node_modules/flowdock/lib/flowdock.js:60
2012-03-05T17:08:48+00:00 app[web.1]: TypeError: Object #