以下是我运行npm 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
ValidationError: Progress Plugin Invalid Options
options should NOT have additional properties
options should NOT have additional properties
options should NOT have additional properties :10)ateOption at C:\Users\zero1\dongruan2023\shop\shopadmin\node_modules\webpack-chain\src\Plugin.js:14:18 ginAPI.js:132:25)at PluginAPI.resolveWebpackConfig (C:\Users\zero1\dongruan2023\shop\shopadmin\node_modules\@vue\cli-service\lib\Plug
at serve (C:\Users\zero1\dongruan2023\shop\shopadmin\node_modules\@vue\cli-service\lib\commands\serve.js:79:31)
at Service.run (C:\Users\zero1\dongruan2023\shop\shopadmin\node_modules\@vue\cli-service\lib\Service.js:262:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)n\node_modules\webpack-chain\src\Config.js:129:
。。。。。
我尝试了很多方法,最后终于找到一个!
那就是yarn !
只需要运行:
npm install -g yarn
yarn install
就可以继续运行:npm run serve 了。