meteor-buildpack-horse: Push rejected / pre-receive hook declined / failed to push some refs

Getting this errors after trying to push any meteor project to heroku:

remote: ----->  app detected
remote: -----> Installing node
remote: -----> Installing meteor
...
remote: -----> Compressing... done, 22.2MB
remote: -----> Launching... 
remote:  !     Push failed: error creating release
remote: Verifying deploy...
remote: !   Push rejected
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs

It used to work some weeks ago. Any idea?

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 43 (1 by maintainers)

Most upvoted comments

I was having the same problem, what i did was just checked my package.json file there was SYNTAX ERROR. That’s it! I hope u got it.

man, you have to set buildpacks for your heroku $ heroku buildpacks:set heroku/nodejs

https://devcenter.heroku.com/articles/buildpacks