How to process.exit(1) from NextJS app
Currently I´m trying to `process.exit(1) from inside a nextjs app runnig in standalone mode inside a container.
But I cannot get the process (and container) to be terminated. Instead I get a
8 Replies
Hey @nsttt did you find a solution?
Nop, and I should keep the thread alive once again because I believe it died
In github
Thanks for answering! do you remember if this was related to upgrading the node version or Next.JS?
its nextjs
awesome, could you please tell me which versions of node and nextjs are you using for your deployment? 🙏
GitHub
Allow exit on failure kind of behaviour · Issue #88 · t3-oss/t3-env
When using t3-env on a container scenario, it will be useful to force a process.exit when invalid variables are detected. This is due to container environments usually relying on different containe...
This is the original issue
I have to reopen it with the repro
thanks for sharing. I may be wrong but I can't see anything related to the original error in the issue 🤔