ValidationError: Progress Plugin Invalid Options

created at 03-18-2022 views: 461

problem

I encountered the following problem when running vue run serve today

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

So I thought that it was fine yesterday, why is it not working today, it should be that there is something wrong with my operation today

I installed a loader before running the project, so I created a new vue2.x project to compare the packages inside

dependencies

dependencies

It turned out that vue-cli was upgraded to the 5.0 version. It turned out that I ran the npm audit fix command, which will update the loader, but there will be many incompatibility problems after the update

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.

solution

So I changed the package to the one in the cleanest vue2.x, and the project ran successfully

created at:03-18-2022
edited at: 03-18-2022: