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

TypeError at run hubot #9

Open
ikedahidenori opened this issue Dec 24, 2012 · 5 comments
Open

TypeError at run hubot #9

ikedahidenori opened this issue Dec 24, 2012 · 5 comments

Comments

@ikedahidenori
Copy link

When I run hubot command, I got type error.

$ bin/hubot -a twitter -n TWITTER_USERNAME

ERROR Cannot load adapter twitter - TypeError: Object #<Object> has no method 'robot'
TypeError: Object #<Object> has no method 'robot'
at Object.<anonymous> (hubot/node_modules/hubot-twitter/src/twitter.coffee:7:28)
at Object.<anonymous> (hubot/node_modules/hubot-twitter/src/twitter.coffee:169:4)

And I've already read this:
https://github.com/MathildeLemee/hubot-twitter/blob/master/README.md

I've tried

to install bundle:

npm install

to add this into dependencies on package.json:

"hubot-twitter": ">= 2.0.4",
"hubot": ">= 2.0.0"

to add variables on Heroku

% heroku config:add HUBOT_TWITTER_KEY="..."
% heroku config:add HUBOT_TWITTER_SECRET="..."
% heroku config:add HUBOT_TWITTER_TOKEN="..."
% heroku config:add HUBOT_TWITTER_TOKEN_SECRET="..."

Is that means hubot of the latest version is not compatible hubot-twitter?

@ikedahidenori
Copy link
Author

this is the same problem.
#8

@pyro2927
Copy link
Contributor

This should fix it:
#10

@tian-im
Copy link

tian-im commented Mar 19, 2013

+1. #10 doesn't fix this problem.

@betzerra
Copy link

betzerra commented Feb 5, 2014

Same error :-(

@betzerra
Copy link

It seems that npm isn't installing the latest version. Try to download this repo manually and replace the old files with the ones you downloaded.

See #13

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

4 participants