title: Angular Update 10.2 to 11
body: <p>I'm trying to update Angular in my project from version 10.2 to 11.0.
  Running ng update:</p>
  <pre><code>  @angular-devkit/build-angular      0.1002.0 -&gt; 0.1100.1     ng update @angular-devkit/build-angular
    @angular/cdk                       10.2.7 -&gt; 11.0.0         ng update @angular/cdk
    @angular/cli                       10.2.0 -&gt; 11.0.1         ng update @angular/cli
    @angular/core                      10.2.3 -&gt; 11.0.0         ng update @angular/core
    @angular/material                  10.2.7 -&gt; 11.0.0         ng update @angular/material
  </code></pre>
  <p>Unfortunately each package I tried to update fails. I tried with --force and --allowDirty flags.</p>
  <p>@angular-cli</p>
  <pre><code>npm ERR! Found: @angular-devkit/build-angular@0.1002.0
  npm ERR! node_modules/@angular-devkit/build-angular
  npm ERR!   dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Could not resolve dependency:
  npm ERR! dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Conflicting peer dependency: @angular/compiler-cli@11.0.0
  npm ERR! node_modules/@angular/compiler-cli
  npm ERR!   peer @angular/compiler-cli@&quot;^11.0.0 || ^11.0.0-next&quot; from @angular-devkit/build- 
  angular@0.1100.1
  npm ERR!   node_modules/@angular-devkit/build-angular
  npm ERR!     dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  </code></pre>
  <p>@angular-devkit/build-angular</p>
  <pre><code>npm ERR! ERESOLVE unable to resolve dependency tree
  npm ERR! 
  npm ERR! Found: @angular-devkit/build-angular@0.1002.0
  npm ERR! node_modules/@angular-devkit/build-angular
  npm ERR!   dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Could not resolve dependency:
  npm ERR! dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Conflicting peer dependency: @angular/compiler-cli@11.0.0
  npm ERR! node_modules/@angular/compiler-cli
  npm ERR!   peer @angular/compiler-cli@&quot;^11.0.0 || ^11.0.0-next&quot; from @angular-devkit/build-angular@0.1100.1
  npm ERR!   node_modules/@angular-devkit/build-angular
  npm ERR!     dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  </code></pre>
  <p>@angular/material</p>
  <pre><code>Installing packages (npm)...npm ERR! code ERESOLVE
  npm ERR! Cannot read property 'length' of undefined
  </code></pre>
  <p>@angular/cdk</p>
  <pre><code>Found: @angular-devkit/build-angular@0.1002.0
  npm ERR! node_modules/@angular-devkit/build-angular
  npm ERR!   dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Could not resolve dependency:
  npm ERR! dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  npm ERR! 
  npm ERR! Conflicting peer dependency: @angular/compiler-cli@11.0.0
  npm ERR! node_modules/@angular/compiler-cli
  npm ERR!   peer @angular/compiler-cli@&quot;^11.0.0 || ^11.0.0-next&quot; from @angular-devkit/build- 
  angular@0.1100.1
  npm ERR!   node_modules/@angular-devkit/build-angular
  npm ERR!     dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root project
  </code></pre>
  <p>UPDATE
  After installing with specific order I managed to update, but now the NPM won't install giving this message:</p>
  <pre><code>Found: @angular-devkit/build-angular@0.1002.0
  npm ERR! node_modules/@angular-devkit/build-angular
  npm ERR!   dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root 
  project
  npm ERR! 
  npm ERR! Could not resolve dependency:
  npm ERR! dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the root 
  project
  npm ERR! 
  npm ERR! Conflicting peer dependency: @angular/compiler-cli@11.0.0
  npm ERR! node_modules/@angular/compiler-cli
  npm ERR!   peer @angular/compiler-cli@&quot;^11.0.0 || ^11.0.0-next&quot; from 
  @angular-devkit/build-angular@0.1100.1
  npm ERR!   node_modules/@angular-devkit/build-angular
  npm ERR!     dev @angular-devkit/build-angular@&quot;~0.1100.1&quot; from the 
  root project
  </code></pre>