Coder Social home page Coder Social logo

Comments (12)

kr avatar kr commented on August 28, 2024 1

Good catch, thanks!

from heroku-buildpack-go.

ijt avatar ijt commented on August 28, 2024

OK, I found a fix:

[ issactrotts ~/go_workspace/src/example.com/server ] heroku config:add BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go.git
Setting config vars and restarting immense-depths-6065... done, v3
BUILDPACK_URL: https://github.com/kr/heroku-buildpack-go.git

from heroku-buildpack-go.

cindy820219 avatar cindy820219 commented on August 28, 2024

[ubuntu@ip-172-31-42-111:~/bitstarter]$ git push staging-heroku staging:master

Counting objects: 361, done.
Compressing objects: 100% (288/288), done.
Writing objects: 100% (361/361), 215.48 KiB, done.
Total 361 (delta 52), reused 348 (delta 43)

-----> Fetching custom git buildpack... failed

! Push rejected, error fetching custom buildpack

To [email protected]:shrouded-mesa-7599.git
! [remote rejected] staging -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:shrouded-mesa-7599.git

It almost test 4 hours...
What should I do???

from heroku-buildpack-go.

kr avatar kr commented on August 28, 2024

Things to try, in order

  1. Push again. This error usually goes away if you try again.
  2. Set BUILDPACK_URL to https://github.com/kr/heroku-buildpack-go.git and try again.
    If the url isn't right, Heroku won't be able to fetch the buildpack.

More info

This message means that Heroku can't fetch the buildpack
from Github. Sometimes it's caused by a temporary network
error, which is why things start working again soon.

If the url is set correctly and the error still happens consistently,
try writing to heroku support. Be sure to include a link to this issue
in the support ticket so there's as much context as possible.
Then if necessary I can check on the app directly and get other
engineers involved.

from heroku-buildpack-go.

kr avatar kr commented on August 28, 2024

@cindy820219:

I just saw that cindy820219/bitstarter appears to be a node.js app.
Are you trying to use this buildpack (for the Go language)
or are you using a node.js buildpack?

from heroku-buildpack-go.

marcoippolito avatar marcoippolito commented on August 28, 2024

I'm having the same problem (same class as Cindy: using node.js app). I cloned heroku-buildpack-nodejs into bitstarter directory but the result is the same: git push staging-heroku staging:master
Counting objects: 456, done.
Compressing objects: 100% (323/323), done.
Writing objects: 100% (456/456), 259.62 KiB, done.
Total 456 (delta 122), reused 428 (delta 103)

-----> Fetching custom git buildpack... failed

What do you suggest to do?

from heroku-buildpack-go.

kr avatar kr commented on August 28, 2024

@marcoippolito I suggest you ask the maintainer of the node.js buildpack
that you're trying to use.

This issue here, #8, where we're having this discussion,
is in a github repository for the Go buildpack, for the Go programming language.

from heroku-buildpack-go.

marcoippolito avatar marcoippolito commented on August 28, 2024

Hi Keith,
Zeke's suggestions solved the problem:
heroku/heroku-buildpack-nodejs#39

Marco

from heroku-buildpack-go.

nathan-sixnines avatar nathan-sixnines commented on August 28, 2024

I had a similar problem with https://github.com/heroku/heroku-buildpack-apt

For me this worked:

heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-apt
Setting BUILDPACK_URL and restarting ⬢ flask-kaji... done, v578
BUILDPACK_URL: https://github.com/heroku/heroku-buildpack-apt

Very similar to what @ijt did but for some reason it only worked without the ".git" at the end of the url.

from heroku-buildpack-go.

freeformz avatar freeformz commented on August 28, 2024

BTW: BUILDPACK_URL is basically deprecated, instead use heroku config:unset BUILDPACK_URL; heroku buildpacks:set https://github.com/heroku/heroku-buildpack-apt.git. You can find more info here: https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app

from heroku-buildpack-go.

igorsquadra avatar igorsquadra commented on August 28, 2024

If someone still has this issue with nodejs for me worked heroku buildpacks:set heroku/nodejs and git push heroku master. Here is Heroku documentation https://devcenter.heroku.com/articles/buildpacks#detection-failure

from heroku-buildpack-go.

Srk1122205 avatar Srk1122205 commented on August 28, 2024

I am facing this problem

App not compatible with buildpack: https://github.com/Srk1122205/Paradise_Parking
bash: /tmp/codon/tmp/buildpacks/190d1fcedf8cc1ab8b279afb8c2d94e816f1b74d/bin/detect: No such file or directory
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure

from heroku-buildpack-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.