[Solved] Cannot update a project from Angular 13 to 14
Angular
Mohit Mozumder
Problem:
MY project is done with angular 13 now i want to upadte it in 14 but when i try to update it with
ng update @angular/core@14 @angular/cli@14
but I got the following error-
Package "@angular-eslint/schematics" has an incompatible peer dependency to
"@angular/cli" (requires ">= 13.0.0 < 14.0.0", would install "14.0.1").
Solution:
First upgrade the @angular-eslint/schematics
package
ng update @angular-eslint/schematics@14
then upgrade Angular
ng update @angular/core@14 @angular/cli@14
Thank you for reading the article. If you face any other problem feel free to ask us.