I am running a next js build. Towards the end of the build process (note this is a build error, not a runtime error), I get this error:
Static worker unexpectedly exited with code: null and signal: SIGTERM
I have tried running with the --debug flag (npx next build --debug), but this doesn't give any more information.
Is there any way of troubleshooting what is causing this error?
Deleting the .next directory before building fixed this. No idea why.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With