ValidationError: Progress Plugin Invalid Options options should NOT have additional properties options should NOT have additional properties options should NOT have additional properties options should pass "instanceof" keyword validation options should match exactly one schema in oneOf ValidationError: Progress Plugin Invalid Options options should NOT have additional properties options should NOT have additional properties options should NOT have additional properties options should pass "instanceof" keyword validation options should match exactly one schema in oneOf at validateOptions (E:\前端\demo-cart\node_modules\webpack\node_modules\schema-utils\src\validateOptions.js:32:11) at new ProgressPlugin (E:\前端\demo-cart\node_modules\webpack\lib\ProgressPlugin.js:62:3) at new Progress (E:\前端\demo-cart\node_modules\progress-webpack-plugin\index.js:25:21) at new progressPlugin (E:\前端\demo-cart\node_modules\progress-webpack-plugin\index.js:127:10) at E:\前端\demo-cart\node_modules\webpack-chain\src\Plugin.js:14:18 at module.exports.toConfig (E:\前端\demo-cart\node_modules\webpack-chain\src\Plugin.js:78:22) at E:\前端\demo-cart\node_modules\webpack-chain\src\Config.js:129:63 at Array.map (<anonymous>) at module.exports.toConfig (E:\前端\demo-cart\node_modules\webpack-chain\src\Config.js:129:40) at Service.resolveWebpackConfig (E:\前端\demo-cart\node_modules\@vue\cli-service\lib\Service.js:277:34)
时间: 2023-06-30 21:15:20 浏览: 3130
Validation插件
这个错误提示是由 Webpack 插件中的 ProgressPlugin 引起的。它表明该插件的选项配置存在问题。具体来说,错误提示了选项配置中有额外的属性,不符合预期的模式,并且无法通过 "instanceof" 关键字验证。此外,该插件的选项配置也不符合预期模式中的任何一个。如果您需要更多的帮助,请提供更多上下文或代码片段。
阅读全文