Next.js Discord

Discord Forum

Build stuck on "Collecting build traces"

Unanswered
Toy Fox Terrier posted this in #help-forum
Open in Discord
Toy Fox TerrierOP
My build keeps getting stuck on "Collecting build traces..."

Is there anything I can do to track down the issue making it take like 30m+ to build?

18 Replies

also you can remove --turbo flag too
@Dutch remove .next and try again
Toy Fox TerrierOP
Won’t that break my current build?
Dutch
stop it first tho
@Dutch also you can remove --turbo flag too
Toy Fox TerrierOP
unless im blind i dont see this
and its not in my next config
Dutch
okay now rm -rf node_modules package-lock.json && npm run start
Toy Fox TerrierOP
its stuck on build traces again
Toy Fox TerrierOP
i just tested locally and it built just fine in under a minute
which is weird asf
@Toy Fox Terrier i just tested locally and it built just fine in under a minute
Dutch
what, wasnt it your local build
Toy Fox TerrierOP
this is when i build it on my dedi
when I try to deploy
@Toy Fox Terrier when I try to deploy
Dutch
so what you think
Toy Fox TerrierOP
Ok so I rebooted my server and it worked
I have no clue why it wasn’t working