I have:
Angular CLI 17
Node: 18.20.2
Package Manager: npm 10.5.0
I have old project with version: 11
I have open it and run npm i
thennpm audit fix --force
here I run ng v
and got:
@angular-devkit/architect 0.1801.2
@angular-devkit/build-angular 18.1.2
@angular-devkit/core 18.1.2
@angular-devkit/schematics 18.1.2
@angular/cdk 11.2.13
@angular/cli 18.1.2
@angular/material 11.2.13
@angular/material-moment-adapter 11.2.13
@schematics/angular 18.1.2
rxjs 6.6.7
typescript 4.0.8
zone.js 0.10.3
after that I have tried to upgrade angular version to 17
So I started by run: ng update @angular/core@12 @angular/cli@12
but I got error
× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the ‘–force’ option to ignore incompatible peer dependencies and instead address these warnings later.
See “C:UsersusernameAppDataLocalTempng-UXBEuCangular-errors.log” for further details.
how can solve this and upgrade to 17
1