I updated my Angular app to 11
Package Version
----------------------------------------------------
@angular-devkit/architect 0.1102.10
@angular-devkit/build-angular 0.1102.10
@angular-devkit/core 11.2.10
@angular-devkit/schematics 11.2.10
@angular/cdk 11.2.10
@angular/cli 11.2.10
@angular/material 11.2.10
@angular/material-moment-adapter 11.2.10
@schematics/angular 11.2.10
@schematics/update 0.1102.10
rxjs 6.6.7
typescript 4.2.4
But, once I try to do a ng serve I get the below error
Error: ./src/main.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
TypeError: angularCompiler.getNextProgram is not a function
at angularCompiler.analyzeAsync.then
I tried the suggestion mention here Errors after npm audit fix angular 10.0.1 but didnt help. Wondering if I am missing something here.