Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error can not load adaptor #47

Closed
muddu opened this issue May 6, 2014 · 3 comments
Closed

Error can not load adaptor #47

muddu opened this issue May 6, 2014 · 3 comments

Comments

@muddu
Copy link

muddu commented May 6, 2014

Hello,

i am using following dependencies

"dependencies": {
"hubot-flowdock": ">= 0.3.x",
"hubot": "2.3.2",
"hubot-scripts": ">= 2.1.0",
"optparse": "1.0.3"
},

after doing npm install

when i do hubot -a flowdock -d i am getting the below error. Could someone please help

[Tue May 06 2014 09:53:31 GMT+0530 (India Standard Time)] ERROR Cannot load adap
ter flowdock - Error: Cannot find module 'hubot-flowdock'

let me know if you need more information

@TheEricMiller
Copy link

Are you by chance trying to run against the wrong $ hubot command? If you created with $ hubot --create (my)hubot and updated the package.json in that new directory... then the way I understand it I believe you must cd into THAT directory and run with bin/hubot -a flowdock

I seem to be getting hung up at npm install of flowdock adapter by:

> buffertools@1.1.0 install /ebot/node_modules/hubot-flowdock/node_modules/flowdock/node_modules/buffertools
> node-gyp rebuild

ERROR Cannot load adapter flowdock - Error: Cannot find module './build/Release/buffertools.node'

@TheEricMiller
Copy link

Turned out my issue was with python... specifically pyenv had not been set properly with $ pyenv global 2.7.5

@anttipitkanen
Copy link
Contributor

Thanks @TheEricMiller for pitching in, I'm glad that you got it working!

Besides trying the above suggestion, I would also encourage upgrading hubot and hubot-flowdock to more recent versions (like hubot: 2.6.0 and hubot-flowdock: 0.6.3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants