Next.js Discord

Discord Forum

How to debug build error?

Unanswered
Komondor posted this in #help-forum
Open in Discord
KomondorOP
Starting from v.13.4.0, my production builds have been failing with the message: Static worker unexpectedly exited with code: null and signal: SIGTERM
Is there a way to debug this so I can figure out what's causing it to fail?

UPDATE: By poking around in node_modules for a while, I finally figured out that the culprit was a function called telemetry.flush. I disabled telemetry and now all is fine. Weird, anyone have an explanation?

0 Replies