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

ERR_CONSTRUCT_CALL_REQUIRED

construct call required

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

类的构造函数在没有 new 的情况下被调用。

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

A constructor for a class was called without new.

故障排除与诊断链接

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