hubot-twitter icon indicating copy to clipboard operation
hubot-twitter copied to clipboard

Heroku crashes

Open rileytg opened this issue 12 years ago • 2 comments

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 #<Object> has no method 'robot' 2012-09-27T00:16:19+00:00 app[web.1]: TypeError: Object #<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

rileytg avatar Sep 27 '12 00:09 rileytg

This should fix it: https://github.com/MathildeLemee/hubot-twitter/pull/10

pyro2927 avatar Jan 17 '13 04:01 pyro2927

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

betzerra avatar Feb 12 '14 21:02 betzerra