Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

v0.2.3 explodes with "Object #<Object> has no method 'isArray'" #5

Closed
matiaskorhonen opened this Issue Mar 3, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Version 0.2.2 works.

The relevant log segment:

2012-03-03T09:43:10+00:00 app[app.1]: /app/node_modules/hubot-flowdock/node_modules/flowdock/lib/flowdock.js:60
2012-03-03T09:43:10+00:00 app[app.1]:       if (!util.isArray(flows)) flows = [flows];
2012-03-03T09:43:10+00:00 app[app.1]:                 ^
2012-03-03T09:43:10+00:00 app[app.1]: TypeError: Object #<Object> has no method 'isArray'
2012-03-03T09:43:10+00:00 app[app.1]:     at Session.stream (/app/node_modules/hubot-flowdock/node_modules/flowdock/lib/flowdock.js:60:17)
2012-03-03T09:43:10+00:00 app[app.1]:     at Flowdock.connect (/app/node_modules/hubot-flowdock/src/flowdock.coffee:54:30)
2012-03-03T09:43:10+00:00 app[app.1]:     at /app/node_modules/hubot-flowdock/src/flowdock.coffee:93:22
2012-03-03T09:43:10+00:00 app[app.1]:     at Request._callback (/app/node_modules/hubot-flowdock/node_modules/flowdock/lib/flowdock.js:54:16)
2012-03-03T09:43:10+00:00 app[app.1]:     at Request.callback (/app/node_modules/hubot-flowdock/node_modules/flowdock/node_modules/request/main.js:118:22)
2012-03-03T09:43:10+00:00 app[app.1]:     at Request.<anonymous> (/app/node_modules/hubot-flowdock/node_modules/flowdock/node_modules/request/main.js:459:16)
2012-03-03T09:43:10+00:00 app[app.1]:     at Request.emit (events.js:64:17)
2012-03-03T09:43:10+00:00 app[app.1]:     at IncomingMessage.<anonymous> (/app/node_modules/hubot-flowdock/node_modules/flowdock/node_modules/request/main.js:418:14)
2012-03-03T09:43:10+00:00 app[app.1]:     at IncomingMessage.emit (events.js:81:20)
2012-03-03T09:43:10+00:00 app[app.1]:     at HTTPParser.onMessageComplete (http.js:133:23)
2012-03-03T09:43:11+00:00 heroku[app.1]: Process exited with status 1
2012-03-03T09:43:11+00:00 heroku[app.1]: State changed from up to crashed

@lautis lautis closed this in 5c9a16f Mar 3, 2012

Contributor

lautis commented Mar 3, 2012

Thanks for the report. util.isArray isn't apparently available in Node 0.4. Fixed in flowdock/node-flowdock@8d33f0f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment