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 11:15:20 浏览: 3379
这个错误提示是由 Webpack 插件中的 ProgressPlugin 引起的。它表明该插件的选项配置存在问题。具体来说,错误提示了选项配置中有额外的属性,不符合预期的模式,并且无法通过 "instanceof" 关键字验证。此外,该插件的选项配置也不符合预期模式中的任何一个。如果您需要更多的帮助,请提供更多上下文或代码片段。
相关问题
ValidationError: webpack Dev Server Invalid Options options should NOT have additional properties options should NOT have additional properties ValidationError: webpack Dev Server Invalid Options options should NOT have additional properties options should NOT have additional properties
这个错误是Webpack Dev Server报出来的,意思是Webpack Dev Server的配置选项中有一些不合法的属性。具体而言,它指出这些选项中包含了一些多余的属性,不符合规定。
解决这个问题的方法就是检查Webpack Dev Server的配置选项,确保其中不包含任何多余的属性。可能需要查看Webpack Dev Server的文档来确定哪些属性是有效的。如果你无法确定哪些属性是多余的,可以尝试逐一排除选项,直到找到引发错误的那个选项。
ValidationError: webpack Dev Server Invalid Options options should NOT have additional properties
这个错误是由于给webpack Dev Server传递了无效的配置选项导致的。根据引用\[1\]中的内容,你使用的是vue/cli4,而在cli4中,应该使用proxy进行配置,而不是proxyTable。所以,你需要修改你的配置文件vue.config.js,将proxyTable改为proxy。这样就可以解决这个错误了。
#### 引用[.reference_title]
- *1* *2* [ValidationError: webpack Dev Server Invalid Options options should NOT have additional properties](https://blog.csdn.net/qq_40390771/article/details/119562291)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文