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: -----> Node.js app detected
remote: -----> Meteor version: Meteor
remote: -----> Checking if this meteor version supports --server-only
remote: cp: cannot stat ‘/app/tmp/cache/\n/app/tmp/cache/’: No such file or directory
remote:  !     Push rejected, failed to compile Node.js app.
remote:  !     Push failed
remote: Verifying deploy...
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\\dev_bundle\bin\npm.cmd rebuild --no-bin-links

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 from 1.3.4.X

check this issue it might help you.