# heroku/pack gets stuck

**URL:** <https://community.fly.io/t/heroku-pack-gets-stuck/1741>\
**Category:** Build debugging\
**Created:** [June 20, 2021, 5:17pm UTC](https://community.fly.io/t/heroku-pack-gets-stuck/1741 "2021-06-20T17:17:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.marquez](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/david.marquez/32/18126_2.png) [@david.marquez](https://community.fly.io/u/david.marquez)\
**Post date:** [June 20, 2021, 5:17pm UTC](https://community.fly.io/t/heroku-pack-gets-stuck/1741/1 "2021-06-20T17:17:34Z")

</div>

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  
Services  
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

---

<div class="post-metadata">

**Author:** ![kurt](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kurt/32/43757_2.png) [@kurt](https://community.fly.io/u/kurt)\
**Post date:** [June 21, 2021, 4:10pm UTC](https://community.fly.io/t/heroku-pack-gets-stuck/1741/2 "2021-06-21T16:10:39Z")

</div>

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](https://nextjs.org/docs/deployment#docker-image)
