Error: Schema validation failed with the following errors: Data path “” should NOT have additional properties(project)

后端 未结 14 2456
长发绾君心
长发绾君心 2020-12-28 12:46

After migrating application from angular 5 to 6, on running ng serve the following errors pop up.

Schema validation failed with the following errors:

14条回答
  •  误落风尘
    2020-12-28 13:44

    Updating npm and angular fixed mine:

    Assuming you use npm

    npm update
    

    then run:

    ng update
    

    NB: You might be prompted to update individual dependencies. In my case, I was prompted to run:

    ng update @angular/cli and ng update @angular/core.

提交回复
热议问题