Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

685
Views
ng update @angular/cli @angular/core or npx @angular/cli@13 update @angular/core@13 @angular/cli@13 is not working

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 ?

npx @angular/cli@13 update @angular/core@13 @angular/cli@13

[![npm ERR! Could not resolve dependency:
npm ERR! dev @angular/compiler-cli@"~13.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: typescript@4.4.4
npm ERR! node_modules/typescript
npm ERR!   peer typescript@">=4.4.2 <4.5" from @angular/compiler-cli@13.0.0
npm ERR!   node_modules/@angular/compiler-cli
npm ERR!     dev @angular/compiler-cli@"~13.0.0" 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]
 

logs

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I had the same issue whenever I upgraded my Angular app to higher version. I always used --force command, and upgrade finished successfully. So just add --force command, and be sure to test you app after the upgrade.

npx @angular/cli@13 update @angular/core@13 @angular/cli@13 --force

Also, do the same thing if you upgrading Material:

npx @angular/cli@13 update @angular/material@13 --force
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!