npm run dev 报错 These relative modules were not found:
These relative modules were not found:,求大神帮忙解决
橘子皮biu
浏览 8398回答 4
4回答
new_object_
'modules were not found',无法找到引用模块,报错关键在这句话后边带引号的模块名称,比如'sass-loader',如果这个模块依赖是你自己写的,查看是否import正常,如果是项目依赖,使用npm install sass-loader --save 安装模块并写入package.json(具体将sass-loader替换成报错信息中的模块)