I have a project which uses Angular 13 and I want to update it to Angular 14.
When I try to update with:
ng update @angular/core@14 @angular/cli@14
I get:
Package "@angular-eslint/schematics" has an incompatible peer dependency to "@angular/cli" (requires ">= 13.0.0 < 14.0.0", would install "14.0.1").
Any ideas on how to avoid this error?
I have two suggestions:
@angular-eslint/schematics packageng update @angular-eslint/schematics@14
ng update @angular/core@14 @angular/cli@14
@angular-eslint packages from package.json file and run npm install so the packages would be deletednpm install
ng update @angular/core@14 @angular/cli@14
@angular-eslint packages with ng add @angular-eslint/schematics command:ng add @angular-eslint/schematics
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With