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

App works locally but crashes on Heroku? #68

Open
Broham opened this issue Sep 20, 2016 · 7 comments
Open

App works locally but crashes on Heroku? #68

Broham opened this issue Sep 20, 2016 · 7 comments

Comments

@Broham
Copy link

Broham commented Sep 20, 2016

I followed the steps in this stackoverflow question, but for some reason the app crashes on heroku even though it works on my local machine. I checked the logs and found this information:

2016-09-20T19:28:18.096258+00:00 heroku[web.1]: State changed from crashed to starting
2016-09-20T19:28:39.792352+00:00 heroku[web.1]: Starting process with command `node build/bundle/main.js`
2016-09-20T19:28:44.018244+00:00 app[web.1]: 
2016-09-20T19:28:44.018578+00:00 app[web.1]: assert.js:93
2016-09-20T19:28:44.018940+00:00 app[web.1]:   throw new assert.AssertionError({
2016-09-20T19:28:44.018944+00:00 app[web.1]:         ^
2016-09-20T19:28:44.021453+00:00 app[web.1]: AssertionError: "undefined" === "function"
2016-09-20T19:28:44.021455+00:00 app[web.1]:     at wrapPathFunction (/app/build/bundle/programs/server/mini-files.js:77:10)
2016-09-20T19:28:44.021456+00:00 app[web.1]:     at Object.<anonymous> (/app/build/bundle/programs/server/mini-files.js:108:24)
2016-09-20T19:28:44.021456+00:00 app[web.1]:     at Module._compile (module.js:456:26)
2016-09-20T19:28:44.021457+00:00 app[web.1]:     at Object.Module._extensions..js (module.js:474:10)
2016-09-20T19:28:44.021458+00:00 app[web.1]:     at Module.load (module.js:356:32)
2016-09-20T19:28:44.021459+00:00 app[web.1]:     at Function.Module._load (module.js:312:12)
2016-09-20T19:28:44.021459+00:00 app[web.1]:     at Module.require (module.js:364:17)
2016-09-20T19:28:44.021460+00:00 app[web.1]:     at require (module.js:380:17)
2016-09-20T19:28:44.021461+00:00 app[web.1]:     at Object.<anonymous> (/app/build/bundle/programs/server/boot.js:9:13)
2016-09-20T19:28:44.021461+00:00 app[web.1]:     at Module._compile (module.js:456:26)
2016-09-20T19:28:44.174809+00:00 heroku[web.1]: State changed from starting to crashed
2016-09-20T19:28:44.137122+00:00 heroku[web.1]: Process exited with status 8

Any idea why this might be happening or how I can fix it?

@rahulserver
Copy link

@Broham I too am facing the same issue. I would assume that this build pack would not work with meteor 1.4.x

Seems this needs to be fixed asap.

@maxko87
Copy link

maxko87 commented Sep 22, 2016

Same issue.

@frayeralex
Copy link

i have same problem

@ickyrr
Copy link

ickyrr commented Sep 26, 2016

this buildpack is not being updated anymore, i guess.. The version of node is still on v0.10.x, meteor is already using 4.5.0 version of node. I've made a guide for this, here. The buildpack I've used there is a fork of this buildpack.

@vlasov01
Copy link

@ickyrr Thank you for the workaround! It works for me.

@Luis16287
Copy link

@ickyrr could you give me access to your page?

@NagaSai6
Copy link

NagaSai6 commented Aug 8, 2020

Same problem

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

8 participants