在创建了一个Vue 3项目之后,添加了Vuetify 3 Alpha,当我运行"npm运行服务“时,这就是我得到的错误。我尝试了没有添加Vuetify 3 Alpha和Vue 3项目启动很好,只是在添加Vuetify之后才会出现错误。
INFO Starting development server...
ERROR 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 (c:\wamp64\www\vuetify-3\node_modules\webpack\node_modules\schema-utils\src\validateOptions.js:32:11)
at new ProgressPlugin (c:\wamp64\www\vuetify-3\node_modules\webpack\lib\ProgressPlugin.js:62:3)
at new Progress (c:\wamp64\www\vuetify-3\node_modules\progress-webpack-plugin\index.js:25:21)
at new progressPlugin (c:\wamp64\www\vuetify-3\node_modules\progress-webpack-plugin\index.js:127:10)
at c:\wamp64\www\vuetify-3\node_modules\webpack-chain\src\Plugin.js:14:18
at Object.toConfig (c:\wamp64\www\vuetify-3\node_modules\webpack-chain\src\Plugin.js:78:22)
at c:\wamp64\www\vuetify-3\node_modules\webpack-chain\src\Config.js:129:63
at Array.map (<anonymous>)
at module.exports.toConfig (c:\wamp64\www\vuetify-3\node_modules\webpack-chain\src\Config.js:129:40)
at Service.resolveWebpackConfig (c:\wamp64\www\vuetify-3\node_modules\@vue\cli-service\lib\Service.js:261:34)发布于 2021-11-15 03:41:23
在运行vue add vuetify之后,我也犯了同样的错误
运行npm update并重新创建项目。
还请确保您在下面的最新版本中。
node -v && vue -V && npm -v发布于 2022-02-13 12:16:34
@Mishka的解决方案对我有效,但我使用了npm update --force来使其工作。
https://stackoverflow.com/questions/69931346
复制相似问题