fbsamples/messenger-platform-samples

Can not deploy to Heroku

Closed this issue · 1 comments

I'm trying to deploy the sample app on a heroku instance, but keep receiving an error when trying to do so.

:node (master) $ git push heroku master
Counting objects: 225, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (100/100), done.
Writing objects: 100% (225/225), 6.82 MiB | 4.17 MiB/s, done.
Total 225 (delta 116), reused 225 (delta 116)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz buildpack
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to boiling-depths-18729.
remote:
To https://git.heroku.com/boiling-depths-18729.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/boiling-depths-18729.git'

Any assistance on pointing me in the correct direction resolve would be greatly appreciated.

I realized that this was an issue on my side. I thought the directory I was working in was already in git and it was not. This had a bunch of other ramifications that was preventing the app from deploying properly to Heroku. Once I got it in git, worked as expect. Chalk this up to user (my) error.