Schema validation failed with the following errors: Data path “.builders['app-shell']” should have required property 'class'

前端 未结 17 1044
无人共我
无人共我 2021-01-31 01:10
Schema validation failed with the following errors:
  Data path \".builders[\'app-shell\']\" should have required property \'class\'.

Schema validation failed with the          


        
17条回答
  •  抹茶落季
    2021-01-31 01:23

    This worked for me:

    In package.json

    Changed "@angular-devkit/build-angular": "^0.800.0" --> "@angular-devkit/build-angular": "^0.10.0" Then:

     npm install
     ng serve
    

    Specs:

    Angular CLI: 6.1.5 Node: 10.15.3 OS: win32 x64 Angular: 6.1.9

提交回复
热议问题