Migration from Angular 8 to Angular 9 with g update @angular/cli@9 @angular/core@9 command

34 viewsangular
0

I am trying to upgrade the version of my angular 8 project to 9. Currently my project is on the latest version of angular 8. @angular/core": "~8.2.14", and "@angular/cli": "^8.3.29". The error messages I get are package incompatibilities. microsoft-adal-angular6 is not compatible with Angular 9 ? Thanks!

PS > ng update @angular/cli@9 @angular/core@9
>>
The installed Angular CLI version is older than the latest stable version.
Installing a temporary version to perform the update.
Installing packages for tooling via npm.
Installed packages for tooling via npm.
Workspace extension with invalid name (defaultProject) found.
Using package manager: npm
Collecting installed dependencies...
Found 65 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-devkit/build-webpack" has a missing peer dependency of "webpack" @ "^4.6.0".
                  Package "@angular-devkit/build-webpack" has a missing peer dependency of "webpack-dev-server" @ "^3.1.4".
                  Package "microsoft-adal-angular6" has an incompatible peer dependency to "@angular/common" (requires "^6.0.0-rc.0 || ^6.0.0" (extended), would install "9.1.13").
                  Package "microsoft-adal-angular6" has an incompatible peer dependency to "@angular/core" (requires "^6.0.0-rc.0 || ^6.0.0" (extended), would install "9.1.13").
                  Package "apollo-angular" has an incompatible peer dependency to "zone.js" (requires "~0.8.20 || ~0.9.0", would install "0.10.3").
× 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:UsersNcozzo.admAppDataLocalTempng-6HxWPSangular-errors.log" for further details.