I got an Error trying to git to Heroku.

This page summarizes the projects mentioned and recommended in the original post on /r/CodingHelp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • subdir-heroku-buildpack

    Allows to use subdirectory configured via environment variable as a project root

  • C:\Users\RaiqP\Desktop\Skiplagged\backend>git push heroku master Enumerating objects: 9488, done. Counting objects: 100% (9488/9488), done. Delta compression using up to 16 threads Compressing objects: 100% (6996/6996), done. Writing objects: 100% (9488/9488), 12.75 MiB | 690.00 KiB/s, done. Total 9488 (delta 2049), reused 9488 (delta 2049), pack-reused 0 remote: Compressing source files... done. remote: Building source: remote: remote: -----> Building on the Heroku-20 stack remote: -----> Using buildpacks: remote: 1. https://github.com/timanovsky/subdir-heroku-buildpack.git remote: 2. heroku/nodejs remote: -----> Subdir buildpack app detected remote: PROJECT_PATH is undefined remote: ! Push rejected, failed to compile Subdir buildpack app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: 782398522d1daa7a09f5296d7e03bcf9f0604244 remote: ! remote: ! We have detected that you have triggered a build from source code with version 782398522d1daa7a09f5296d7e03bcf9f0604244 remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku :main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to heroku-skiplagged-final. remote: To https://git.heroku.com/heroku-skiplagged-final.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/heroku-skiplagged-final.git'

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts