vue3webpack启动报错module property was removed from Dependency

错误提示

throw new Error(
                ^
Error: module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)

查了查版本npm info webpack,发现是webpack版本太高了
降版本到4.46.0 即可正常启动
npm install [email protected] --save-dev

你可能感兴趣的:(vue3webpack启动报错module property was removed from Dependency)