dimanche 27 juin 2021

Error pushing to heroku main after some changes

ERROR

Compiled slug size: 586.5M is too large (max is 500M).
remote:  !     See: http://devcenter.heroku.com/articles/slug-size
remote:
remote:  !     Push failed
remote:  !
remote:  ! ## Warning - The same version of this code has already been built: 96c6f109f09404a40b71aa170bdedba7a3f9b173
remote:  !
remote:  ! We have detected that you have triggered a build from source code with version 96c6f109f09404a40b71aa170bdedba7a3f9b173
remote:  ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote:  ! If you are developing on a branch and deploying via git you must run:
remote:  !
remote:  !     git push heroku <branchname>: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 mathewsjoy.
remote:
To https://git.heroku.com/mathewsjoy.git
 ! [remote rejected] main -> main (pre-receive hook declined)

Ive adding some extra files to my code 1 json, 1 html, 1 png and 2 python, words.pkl,classes.pkl and also chatbot_model.h5. Once i had finished with this I had tryed to do my normal push to github (was a success) and then git push heroku main. But i get the error shown above I have no branches, updated my requirements.txt and done everyone how i normally do it. But iam getting this error. No idea how on earth to fix this tried a few things like git status. But no luck, hope someone can help.

My website works fine like normal, but this commit wont go through.




Aucun commentaire:

Enregistrer un commentaire