Error Code Portal
Node.jsNode.jsError code

ERR_UNAVAILABLE_DURING_EXIT

unavailable during exit

Code ERR_UNAVAILABLE_DURING_EXIT · An issue reported by Node.js.

Function was called within a process.on('exit') handler that shouldn't be called within process.on('exit') handler.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.