hubot-flowdock icon indicating copy to clipboard operation
hubot-flowdock copied to clipboard

Windows 10 hubot: Cannot load adapter flowdock

Open kjata30 opened this issue 8 years ago • 5 comments
trafficstars

Getting this error when running a clean install of hubot (from npm) using the flowdock adapter.

C:\Hubot> ./bin/hubot -a flowdock -d

[Tue Jan 24 2017 16:06:54 GMT-0500 (Eastern Standard Time)] DEBUG Loading adapter flowdock [Tue Jan 24 2017 16:06:55 GMT-0500 (Eastern Standard Time)] ERROR Cannot load adapter flowdock - TypeError: Cannot read property 'prototype' of undefined

project.json

"dependencies": { "hubot": "latest", "hubot-diagnostics": "latest", "hubot-flowdock": "latest", "hubot-google-images": "latest", "hubot-google-translate": "latest", "hubot-help": "latest", "hubot-heroku-keepalive": "latest", "hubot-maps": "latest", "hubot-pugme": "latest", "hubot-redis-brain": "latest", "hubot-rules": "latest", "hubot-scripts": "latest", "hubot-shipit": "latest" }, "engines": { "node": "7.40", "npm": "4.0.5" }

python 2.7.13 node-gyp 3.5.0

kjata30 avatar Jan 24 '17 21:01 kjata30

Have you tried npm rebuild?

mrala avatar Jan 25 '17 03:01 mrala

No, but I ended up just reverting to nodejs 0.12.x and it works just fine.

kjata30 avatar Jan 25 '17 06:01 kjata30

I do have this issue, but I'm a bit confused about versioning and node. I think I have the latest, but node -v reports as v7.4.0. I did do a rebuild.

Should I upgrade something, or actually downgrade?

bhebing avatar Feb 02 '17 17:02 bhebing

OK, so the versioning is clear now :)

Anyway, issue is on v7.4.0, but on the v6 LTS release.

bhebing avatar Feb 03 '17 06:02 bhebing

@bhebing Downgrading to node 0.12.18 solved this issue for me.

kjata30 avatar Feb 03 '17 14:02 kjata30