title: ng update @angular/cli @angular/core or npx @angular/cli@13 update @angular/core@13 @angular/cli@13 is not working
body: <p>I am trying to upgrade my angular cli and angular core from 12 to 13, but looks like there are peer dependency issues. did any one faced this issue ?</p>
  <blockquote>
  <p>npx @angular/cli@13 update @angular/core@13 @angular/cli@13</p>
  </blockquote>
  <pre><code>[![npm ERR! Could not resolve dependency:
  npm ERR! dev @angular/compiler-cli@&quot;~13.0.0&quot; from the root project
  npm ERR! 
  npm ERR! Conflicting peer dependency: typescript@4.4.4
  npm ERR! node_modules/typescript
  npm ERR!   peer typescript@&quot;&gt;=4.4.2 &lt;4.5&quot; from @angular/compiler-cli@13.0.0
  npm ERR!   node_modules/@angular/compiler-cli
  npm ERR!     dev @angular/compiler-cli@&quot;~13.0.0&quot; from the root project
  npm ERR! 
  npm ERR! Fix the upstream dependency conflict, or retry
  npm ERR! this command with --force, or --legacy-peer-deps
  npm ERR! to accept an incorrect (and potentially broken) dependency resolution.][1]][1]
   
  </code></pre>
  <p><a href="https://i.stack.imgur.com/LmZYa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LmZYa.jpg" alt="logs" /></a></p>