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

Heroku crashes #8

Open
rileytg opened this issue Sep 27, 2012 · 2 comments
Open

Heroku crashes #8

rileytg opened this issue Sep 27, 2012 · 2 comments

Comments

@rileytg
Copy link

rileytg commented Sep 27, 2012

It seems to not be able to load on heroku with latest hubot and twitter adapter. What more do you need to fix?

State changed from crashed to starting
2012-09-27T00:16:15+00:00 heroku[web.1]: Starting process with command bin/hubot -a twitter -n my_twitter
2012-09-27T00:16:16+00:00 app[web.1]: bin/hubot: 3: npm: not found
2012-09-27T00:16:19+00:00 app[web.1]: [Thu Sep 27 2012 00:16:19 GMT+0000 (UTC)] ERROR Cannot load adapter twitter - TypeError: Object # has no method 'robot'
2012-09-27T00:16:19+00:00 app[web.1]: TypeError: Object # has no method 'robot'
2012-09-27T00:16:19+00:00 app[web.1]: at Object. (/app/node_modules/hubot-twitter/src/twitter.coffee:7:28)
2012-09-27T00:16:19+00:00 app[web.1]: at Object. (/app/node_modules/hubot-twitter/src/twitter.coffee:169:4)
2012-09-27T00:16:19+00:00 app[web.1]: at Module._compile (module.js:446:26)
2012-09-27T00:16:19+00:00 app[web.1]: at Object..coffee (/app/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:22:21)
2012-09-27T00:16:19+00:00 app[web.1]: at Module.load (module.js:353:31)
2012-09-27T00:16:19+00:00 app[web.1]: at Function._load (module.js:311:12)
2012-09-27T00:16:19+00:00 app[web.1]: at Module.require (module.js:359:17)
2012-09-27T00:16:19+00:00 app[web.1]: at require (module.js:375:17)
2012-09-27T00:16:19+00:00 app[web.1]: at Robot.loadAdapter (/app/node_modules/hubot/src/robot.coffee:215:31)
2012-09-27T00:16:19+00:00 app[web.1]: at new Robot (/app/node_modules/hubot/src/robot.coffee:47:14)
2012-09-27T00:16:19+00:00 app[web.1]: TypeError: Cannot call method 'on' of null
2012-09-27T00:16:19+00:00 app[web.1]: at Object. (/app/node_modules/hubot/bin/hubot:105:19)
2012-09-27T00:16:19+00:00 app[web.1]: at Object. (/app/node_modules/hubot/bin/hubot:109:4)
2012-09-27T00:16:19+00:00 app[web.1]: at Module._compile (module.js:446:26)
2012-09-27T00:16:19+00:00 app[web.1]: at Object.run (/app/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:79:25)
2012-09-27T00:16:19+00:00 app[web.1]: at /app/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:175:29
2012-09-27T00:16:19+00:00 app[web.1]: at /app/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/command.js:150:18
2012-09-27T00:16:19+00:00 app[web.1]: at [object Object]. (fs.js:123:5)
2012-09-27T00:16:19+00:00 app[web.1]: at [object Object].emit (events.js:64:17)
2012-09-27T00:16:19+00:00 app[web.1]: at Object.oncomplete (fs.js:1190:12)
2012-09-27T00:16:20+00:00 heroku[web.1]: Process exited with status 1
2012-09-27T00:16:20+00:00 heroku[web.1]: State changed from starting to crashed

@pyro2927
Copy link
Contributor

This should fix it:
#10

@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

3 participants