Errors: Data path ".builders['app-shell']" should have required property 'class'

188

I am getting this error while running my application. Here are the details of my application.

Angular CLI: 7.3.3 
Node: 10.15.1 
Angular: 7.2.7 
@angular-devkit/architect -0.13.3 
@angular-devkit/build-angular- 0.800.1 
@angular-devkit/build-optimizer - 0.800.1 
@angular-devkit/build-webpack - 0.800.1 
@angular-devkit/core -7.3.3 
@angular-devkit/schematics -7.3.3 
@angular/cli -7.3.3 
@ngtools/webpack -8.0.1 
@schematics/angular -7.3.3 
@schematics/update 0.13.3 
rxjs 6.3.3 
typescript 3.2.4 
webpack 4.30.0

I have already tried cache clean.

This question is tagged with angular6 angular7

~ Asked on 2019-05-31 10:17:01

The Best Answer is


183

In your package.json change the devkit builder.

"@angular-devkit/build-angular": "^0.800.1",

to

"@angular-devkit/build-angular": "^0.10.0",

it works for me.
good luck.

~ Answered on 2019-05-31 14:42:28


115

Following worked for me

npm uninstall @angular-devkit/build-angular
npm install @angular-devkit/[email protected]

~ Answered on 2019-06-11 08:21:01


Most Viewed Questions: