App rejected by Heroku

I keep getting this error when I try to push my app to Heroku:

git push heroku master

Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (13/13), done.
Writing objects: 100% (14/14), 3.18 KiB | 0 bytes/s, done.
Total 14 (delta 11), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Node.js app detected
remote: -----> Meteor version: Meteor 1.4.0.1
remote: -----> Checking if this meteor version supports --server-only
remote: cp: cannot stat ‘/app/tmp/cache/1.3.4.1/.meteor/packages/meteortool/.1.3.4_1.tskw1g++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node\n/app/tmp/cache/1.3.4.1/.meteor/packages/meteor-tool/.1.4.0-1.1lf30np++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node’: No such file or directory
remote:  !     Push rejected, failed to compile Node.js app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to [name-of-app].

What could the problem be? Just a few hours ago I managed to push with no errors.

1 Like

Looks kinda like a version mismatch to me… did you update the Meteor version?

Maybe try re-creating the app

Yeah, very likely a version mismatch. I’m currently trying to update it but running across some problems. Specifically:

Errors while initializing project:

While loading package npm-bcrypt@0.8.7:
error: Command failed: C:\Users\admin\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd rebuild --no-bin-links
--update-binary

Running into this issue as well. Working on figuring out whats going on right now. Will report back if I find a solution

I got this issue after updating to 1.3.5.1 from 1.3.4.X

check this issue https://github.com/AdmitHub/meteor-buildpack-horse/issues/132 it might help you.