I am trying to deploy a next.js project on fly.io and I get this error:
76520b185432: Pushing [==================================================>] 408.6MB
0085c627940c: Pushed
5a1dad4d85df: Pushed
04fe4e3b060b: Pushed
9f25a60a701a: Pushed
9b8cea3269fd: Layer already exists
14913e7eb649: Layer already exists
9cae35e6a524: Layer already exists
f8083183b880: Layer already exists
a12586ed027f: Layer already exists
Error: failed to fetch an image or build from source: error rendering push status stream: received unexpected HTTP status: 502 Bad Gateway
I tried to delete fly-build-[name] and try again but I get the same error. What should I do?