![cover](https://img-blog.csdnimg.cn/079506a9f8cf46e2aa8c71678da37125.png)
ValidationError: Progress Plugin Invalid Options
ValidationError: Progress Plugin Invalid Optionsoptions should NOT have additional propertiesoptions should NOT have additional propertiesoptions should NOT have additional propertiesoptions should pa
·
今天在运行vue run serve 的时候遇到了下面问题
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
于是我就想昨天还好好的今天怎么就不行了,应该是我今天的操作有问题
我在运行项目之前安装了一个loader,于是我就新创建了一个vue2.x的项目对比里面的包有什么不同
原来是vue-cli升级到了5.0版本,原来是我运行了npm audit fix这个命令它会更新loader,但更新了之后会出现很多不兼容问题
2 packages are looking for funding
run `npm fund` for details
34 vulnerabilities (22 moderate, 11 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
于是我把包改成最干净的vue2.x里面的包,项目成功运行
更多推荐
所有评论(0)