github/hubot — Issue #185: Trying to figure out how to use new adapters architecture
Author: alx
Created: 2011-11-21 12:57:57+00:00
State: open

Hi Hubot devs,

I've been using hubot before the changes on the adapters, and I'm trying to use it again now that adapters have been moved out of the core.

Could you tell me what I'm doing wrong?

* create an adapter for my features (based on gtalk third-party adapter): https://github.com/alx/hubot-tetalab
* publish it on npm: http://search.npmjs.org/#/hubot-tetalab
* add it to package.json on my hubot install

"dependencies": {
"coffee-script": "1.1.3",
"optparse": "1.0.3",
"scoped-http-client": "0.9.6",
"hubot-tetalab": "1.0.0"
},

* refresh npm install:

alex@lab:~/hubot$ npm install
hubot-tetalab@1.0.0 ./node_modules/hubot-tetalab

* try to start hubot with newly installed adapter:

alex@lab:~/hubot$ bin/hubot -a hubot-tetalab
Can't load adapter 'hubot-tetalab', try installing the package

alex@lab:~/hubot$ bin/hubot -a tetalab
Can't load adapter 'tetalab', try installing the package