Vue 3 和 Vuetify 3 Alpha:ValidationError:进度插件无效选项

Ham*_*ini 13 vue.js vuetify.js vuejs3

创建 Vue 3 项目并添加 Vuetify 3 Alpha 后,当我运行“npm runserve”时,这是我得到的错误。我尝试不添加 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)
Run Code Online (Sandbox Code Playgroud)

Mis*_*hka 16

我运行后也出现同样的错误vue add vuetify

再次运行npm update并重新创建项目。

另请确保您使用的是以下最新版本。

node -v && vue -V && npm -v
Run Code Online (Sandbox Code Playgroud)
  • v17.0.1
  • @vue/cli 5.0.0-rc.0
  • 8.1.0