I am new to Angular and currently trying to upgrade from version 9.0.0 to 9.1.11 in order to update my TypeScript from 3.7.5 to 3.8
for using the countries-map plugin in my application.
When I execute the command
ng update @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="beddd2d7fe87908f">[email protected]</a> @angular/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="64070b1601245d4a55">[email protected]</a>
, I encounter the following error:
Using package manager: 'npm'
Collecting installed dependencies... Found 68 dependencies.
Fetching dependency metadata from registry...
Package "yamapng" has an incompatible peer dependency to "@angular/common" (requires "^7.1.0" (extended), would install "9.1.12").
Package "yamapng" has an incompatible peer dependency to "@angular/core" (requires "^7.1.0" (extended), would install "9.1.12").
Package "angular-svg-round-progressbar" has an incompatible peer dependency to "zone.js" (requires "^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:\Users\koste\AppData\Local\Temp\ng-If5zs2\angular-errors.log" for further details.
Is there a way to automatically upgrade all packages? If not possible, how can I safely upgrade the other plugins separately? I am having difficulty understanding the errors even after searching similar issues online.
My package.json file is quite simple:
{
"name": "vien-angular-start",
"version": "0.0.1",
"private": true,
...
}
Even though I updated TypeScript to "typescript": "^3.8.3"
, I am still facing the same problems.