Open Soumi7 opened 4 years ago
facing same issue, anyone have solution please reply asap
I'm facing the same issue. Please help!!!
I was just able to do a clone a few minutes ago for my prod instance and even pushed with it. Now I can't even clone neither the test or prod app.
+1
Hi! If you get this error it means your app doesn't have a Git repo, since the repo was not found (404). This can happen if using GitHub sync or other non-git push heroku main
type deployment methods, since they don't go via the Heroku Git server. It will also be the case if you've previously run heroku git:reset
(which deletes the Git repo) and not pushed again since.
The good news is that if the repo doesn't exist, there is no need to GC it, so you can ignore the error. The repo:gc
command should definitely handle this case more gracefully (eg exit with a "repo doesn't exist" error message instead), but the end result for performing the action would be the same.
If you're running the GC command to try and reduce slug size, GCing the repo doesn't help - use these docs instead: https://devcenter.heroku.com/articles/slug-compiler#slug-size https://help.heroku.com/KUFMEES1/my-slug-size-is-too-large-how-can-i-make-it-smaller
After cloning the app and downloading it I ran this command:
This is the error it generated:
I was tring to purge cache but before that the gc command fails.
Here is the ss: