我正在尝试运行
webpack -config webpack.config.vendor.js
但是接收到错误
D:\Angular\vega>webpack -config webpack.config.vendor.js
module.js:549
throw err;
^
Error: Cannot find module 'webpack/schemas/WebpackOptions.json'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (D:\Angular\vega\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at Object.<anonymous> (D:\Angular\vega\node_modules\webpack-cli\bin\config-yargs.js:1:85)
at Module._compile (D:\Angular\vega\node_modules\v8-compile-cache\v8-compile-cache.js:178:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
这里webpack没有在wwwroot下创建任何文件夹,因为上面有例外,我无法运行我的asp.net核心项目。 任何帮助表示赞赏。