Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Why getting error when I am trying to run: git push heroku master

Asked by Ankur Dwivedi Jul 12, 2021 2.3K views 1 answer
Share

About this question

I am trying to push nodejs project to Heroku app it failed to push some refs to heroku . The code can be found here: https://github.com/birgirp/thehole.

The error I get is the following: $ git push heroku master Enumerating objects: 494, done. Counting objects: 100% (494/494), done. Delta compression using up to 4 threads Compressing objects: 100% (220/220), done. Writing objects: 100% (494/494), 6.10 MiB | 538.00 KiB/s, done. Total 494 (delta 231), reused 485 (delta 227) remote: Compressing source files... done. remote: Building source: remote: remote: ! No default language could be detected for this app. remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. remote: See https://devcenter.heroku.com/articles/buildpacks remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to thehole. remote: To https://git.heroku.com/thehole.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/thehole.git' Any ideas what might be causing the error?


Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.