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

MODULE_NOT_FOUND

module not found

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

在尝试 require() 操作或加载程序入口点时,CommonJS 模块加载器无法解析模块文件。

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

A module file could not be resolved by the CommonJS modules loader while attempting a require() operation or when loading the program entry point.

故障排除与诊断链接

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