Error Code Portal
Node.jsNode.jsError code

ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE

domain cannot set uncaught exception capture

Code ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE · An issue reported by Node.js.

process.setUncaughtExceptionCaptureCallback() could not be called because the node:domain module has been loaded at an earlier point in time. The stack trace is extended to include the point in time at which the node:domain module had been loaded.

Troubleshooting and diagnostic links

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