Closed steckel closed 12 years ago
Needed to add hubot to the hubot-irc package.json dependancies.
For more info use the following guides located here
make sure you use the latest for hubot - 2.2.1
and hubot-irc - 0.0.8
on the package.json
i followed this to the letter and i still have the problem.
Can you give this a try... making sure to start fresh. Note that you must use the hubot code from the downloads page link.
I literally just 5 minutes ago followed this and had no problems.
NOTICE: This bot is now upgraded to Hubot 2.3. You should specify 0.0.8 as your hubot-irc dependency for older versions of Hubot (<2.3.0).
npm install hubot-irc --save
in the extracted Hubot 2
directory to add the hubot-irc
adapter to your dependencies.npm install
set
for export
)
bin/hubot -a irc
that worked! probably a path issue for me thanks! Also any way to push this into the background as a process? I am more fluent with Eggdrop :) so its new territory.
Seeing this with Hubot 2.5 and hubot-irc 0.1.15 node 0.8.19
git clone https://github.com/github/hubot.git
cd hubot
npm install
npm install hubot-irc --save
cat package.json | grep irc
"hubot-irc": "~0.1.15"
env | grep HUB
HUBOT_LOG_LEVEL=debug
HUBOT_IRC_ROOMS=#myroom
HUBOT_IRC_DEBUG=true
HUBOT_IRC_NICK=myhubot
HUBOT_IRC_SERVER=irc.freenode.net
./bin/hubot -a irc
[Mon Jul 08 2013 22:04:37 GMT+0200 (CEST)] DEBUG Loading adapter irc
[Mon Jul 08 2013 22:04:38 GMT+0200 (CEST)] ERROR Cannot load adapter irc - Error: Cannot find module 'hubot'
You cannot simply clone the hubot repo. The hubot repo says that directly in its readme. I'd recommend you either:
@jgable thanks a lot, feeling a little stupid right there. I was following https://github.com/github/hubot/wiki/Deploying-Hubot-onto-UNIX which does recommend the direct clone. I’ll try the methods you pointed out, thanks!
when running
bin/hubot -a irc --name sbot
Hubot seems to just hang with the following message
WARNING The HUBOT_AUTH_ADMIN environment variable not set
INFO Data for brain retrieved from Redis
I've checked the HUBOT variables and everything seems fine...
What directions did you follow to get it setup?
nm - there was a problem with my grove setup. followed the directions as stated above and they work fine. thanks.
While using a new copy of Hubot (Hubot v2.0.0 & v2.0.1), I'm getting the error of
[Tue May 29 2012 15:32:08 GMT-0700 (PDT)] ERROR Cannot load adapter irc - Error: Cannot find module 'hubot' Error: Cannot find module 'hubot'
after cloning a new hubot, running
npm install hubot-irc
along with exporting the proper environment variables.