Skip to content

TypeError at run hubot #9

@ikedahidenori

Description

@ikedahidenori

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions