Meteor Heroku error after deployment

After deploying the application in heroku, my application does not start. I think this could be due to the build and latest version of meteor 0.9.x?

Where should I start debugging this?

2014-09-02T05:02:58.848513+00:00 heroku[web.1]: State changed from crashed to starting 2014-09-02T05:03:05.407436+00:00 heroku[web.1]: Starting process with command `.meteor/heroku_build/bin/node .meteor/heroku_build/app/main.js` 2014-09-02T05:03:06.578829+00:00 app[web.1]: module.js:340 2014-09-02T05:03:06.579092+00:00 app[web.1]: throw err; 2014-09-02T05:03:06.586422+00:00 app[web.1]: at Function.Module._load (module.js:280:25) 2014-09-02T05:03:06.578419+00:00 app[web.1]: 2014-09-02T05:03:06.586423+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-09-02T05:03:06.579105+00:00 app[web.1]: ^ 2014-09-02T05:03:06.586414+00:00 app[web.1]: Error: Cannot find module 'fibers' 2014-09-02T05:03:06.586426+00:00 app[web.1]: at require (module.js:380:17) 2014-09-02T05:03:06.586420+00:00 app[web.1]: at Function.Module._resolveFilename (module.js:338:15) 2014-09-02T05:03:06.586428+00:00 app[web.1]: at Object.<anonymous> (/app/.meteor/heroku_build/app/programs/server/boot.js:1:75) 2014-09-02T05:03:06.586429+00:00 app[web.1]: at Module._compile (module.js:456:26) 2014-09-02T05:03:06.586431+00:00 app[web.1]: at Object.Module._extensions..js (module.js:474:10) 2014-09-02T05:03:06.586432+00:00 app[web.1]: at Module.load (module.js:356:32) 2014-09-02T05:03:06.586434+00:00 app[web.1]: at Function.Module._load (module.js:312:12) 2014-09-02T05:03:06.586436+00:00 app[web.1]: at Module.require (module.js:364:17) 2014-09-02T05:03:07.681468+00:00 heroku[web.1]: State changed from starting to crashed 2014-09-02T05:03:07.680466+00:00 heroku[web.1]: Process exited with status 8 
+6
source share
2 answers

I do not have enough points to leave a comment on your message, but this will solve your problem, even if it does not answer your question. This question has not been answered for more than a month, so why not?

You're right. Many popular teams have problems with meteor 0.9.x; I am not a very good programmer to understand why or what special problems. I also don't know why buildpack below works, but it does.

https://github.com/djhi/heroku-buildpack-meteorite.git

Hope this helps other meteor developers suffer the same problems even if this post does not answer the question.

EDIT - updated post for comment @jww; my post still doesn't give an answer, but it provides a solution.

EDIT 2 - This collector no longer works for me. See my comment below. Works for me again: https://github.com/AdmitHub/meteor-buildpack-horse

+2
source

I had this problem. This is due to the node version, support for Meteor node 0.10.36 or higher version

I just watched my steps, it works well

Build the meteor app and make sure it works without errors.

 meteor create todo 

Go to todo application directory

 cd todo 

Add and commit using GIT

 git init git add . git commit -am "Initial commit" 

Build a heroku app with buildpack

 heroku create --buildpack https://github.com/kannans/heroku-buildpack-meteor.git 

Add Hero meteorite configurations

 heroku addons:add mongolab:sandbox heroku config:add MONGO_URL=<mangolap url> heroku config:add ROOT_URL=https://damp-bastion-7974.herokuapp.com/ 

For MONGO_URL. Just create an account and get url from https://mongolab.com/

Click on your changes in Heroku.

 git push heroku master 

My meteor app on Heroku :) https://damp-bastion-7974.herokuapp.com/

+1
source

Source: https://habr.com/ru/post/974686/


All Articles