GoodDAPP icon indicating copy to clipboard operation
GoodDAPP copied to clipboard

Resolve "Failed to prepare repo" issue during production deployment

Open serdiukov-o-nordwhale opened this issue 4 years ago • 0 comments

Sometimes the following error happens:

Failing build: Failed to prepare repo
2:34:06 PM: Failed during stage 'preparing repo': exit status

If re-deploy manually using 'clean cache & deploy' - deploy passes

  1. We could try to use 'clean cache' strategy automatically on each production deployment There's no option to enable it during CI but it's possible to add workaround - remove cache after deployment (so next deployment will be performed without cache). https://community.netlify.com/t/how-to-clear-cache-on-branch-deploy/5521 https://community.netlify.com/t/cache-issue-on-netlify/8238

But those articles are looking outdated, i think we could spent some tome for research and find a more fresh solution

  1. Instead of workaround we could try to research the reasons why 'Failed to prepare repo' error appears and try to fix everything causing it

serdiukov-o-nordwhale avatar Jul 06 '20 15:07 serdiukov-o-nordwhale