title: Ng serve Error after updating to Angular 11
body: <p>I updated my Angular app to 11</p>
  <pre><code>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
  </code></pre>
  <p>But, once I try to do a ng serve I get the below error</p>
  <pre><code>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
  </code></pre>
  <p>I tried the suggestion mention here  <a href="https://stackoverflow.com/questions/65849026/errors-after-npm-audit-fix-angular-10-0-1">Errors after npm audit fix angular 10.0.1</a>  but didnt help.
  Wondering if I am missing something here.</p>