错误代码门户
Node.jsNode.js错误代码

ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE

domain cannot set uncaught exception capture

代码 ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE · Node.js 报告的问题。

无法调用 process.setUncaughtExceptionCaptureCallback(),因为 node:domain 模块已在较早的时间点加载。 堆栈跟踪已扩展为包括加载节点:域模块的时间点。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

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.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。