Comments (12)
Good catch, thanks!
from heroku-buildpack-go.
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.
[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.
Things to try, in order
- Push again. This error usually goes away if you try again.
- Set
BUILDPACK_URL
tohttps://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.
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.
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.
@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.
Hi Keith,
Zeke's suggestions solved the problem:
heroku/heroku-buildpack-nodejs#39
Marco
from heroku-buildpack-go.
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.
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.
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.
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)
- Failed to compile Go app without vendor on Go 1.16 HOT 4
- Way to set GO111MODULE for 1.16?
- Custom Vendoring doesnt work!
- go: command not found HOT 4
- go_pre_compile does not work HOT 2
- Error decompressing go1.16.10.linux-amd64.tar.gz HOT 2
- Mulitple instances of app running HOT 2
- Requested file unknown to the buildpack HOT 5
- Add Go 1.18.6 and 1.19.1
- go cmd unavailable for go-pre-compile or go-post-compile HOT 1
- Add Go 1.20
- build fails on specific packages - go1.20
- Go 1.21.1 is released!
- Go 1.22 was released on 07.02.2024
- Feature Request: Optionally print `go env`
- Feature Request: Output any env vars that are picked up
- Support ARM64 when using Heroku-24 Docker images
- Go 1.22 apps cannot be built after the version change to go1.22.4 HOT 1
- Add an integration test
- Go 1.22.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-go.