'angular has an incompatible peer dependency to "@angular/core" (requires "^>=10.0.0 <14.0.0", would install "13.2.3")

I do become the following error while trying to update angular from v12 to v13 ?

Package "@an/example" has an incompatible peer dependency to "@angular/core" (requires "^>=10.0.0 <14.0.0", would install "13.2.3").

@an/example just required the following as peerDependencies

  "peerDependencies": {
    "@angular/common": ">=10.0.0 <14.0.0",
    "@angular/core": "^>=10.0.0 <14.0.0"
  },

And if I want to update to 13.2.3, then it shouldn't be a problem... Or does it?

I know I could --force my way out



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source