heroku/pack gets stuck

Trying to build my Next.js client here and it’s been stuck like this for days. I’m unable to progress past the build phase even after re-creating the app or even changing the pack number.

$ fly deploy
Deploying beta-client-stg
==> Validating app configuration
→ Validating app configuration done
TCP 80/443 ⇢ 3000
Remote builder fly-builder-lively-mountain-5552 ready
==> Building image with Buildpacks
20: Pulling from heroku/buildpacks
Digest: sha256:65751fe75629f0f84731081e06900cf1875d418f1725c239bf4732c77f83af02
Status: Image is up to date for heroku/buildpacks:20
20: Pulling from heroku/pack
Digest: sha256:4d35a4196fbd4b18e6fe4b84029e30374f1a02dec24c258847e90883bd701830
Status: Image is up to date for heroku/pack:20

How long does that last? This part of the Heroku’s pack process isn’t very helpful, it takes that builpack and uses it to build a base image. It can take a shocking amount of time and give you no output.

For nextjs, you might consider switching to a Dockerfile. It’ll be quicker and less error prone. Deployment | Next.js