Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible peer dependency @angular-devkit/architect in Update for Angular from 11 to 12 in Ionic Project #460

Closed
bchehraz opened this issue Oct 19, 2021 · 2 comments
Labels

Comments

@bchehraz
Copy link

bchehraz commented Oct 19, 2021

ng update @angular/core@12 @angular/cli@12 results in:

Package "@ionic/angular-toolkit" has an incompatible peer dependency to "@angular-devkit/architect" (requires "^0.1200.0", would install "0.1202.10")

Should I --force anyway? I'm trying to mitigate as many issues as possible.

Thanks!

Edit: I guess I did not see another person also report a similar if not same issue... #459

@Julien-Marcou
Copy link

I have the same issue.

@ionic/angular-toolkit v4.0.0 has a peer dependency to @angular-devkit/architect ^0.1200.0 which means it's only able to fetch @angular-devkit/architect v0.1200.5 at the moment (instead of v0.1202.10), so if you try to upgrade to Angular v12.1.X or v12.2.X you'll get this error.

Ionitron added a commit that referenced this issue Oct 28, 2021
# [5.0.0](v4.0.0...v5.0.0) (2021-10-28)

### Bug Fixes

* bump cheerio to rc4 ([905cff2](905cff2)), closes [#456](#456)
* update deps to match latest angular ([0100b8b](0100b8b)), closes [#455](#455) [#452](#452)

### Features

* update to support angular 12.0 ([671bfba](671bfba)), closes [#459](#459) [#460](#460)

### BREAKING CHANGES

* Apps must use Angular 12.0
@Ionitron
Copy link
Collaborator

🎉 This issue has been resolved in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

mhartington added a commit that referenced this issue Nov 4, 2021
@angular-devkit/architect does not follow semver correctly. Switching peer deps to use
build-angular, which provides architect already

ref #460
Ionitron added a commit that referenced this issue Nov 4, 2021
## [5.0.1](v5.0.0...v5.0.1) (2021-11-04)

### Bug Fixes

* **deps:** remove peer dep on devkit/architect ([eb46e23](eb46e23)), closes [#460](#460)
wand1252 added a commit to wand1252/angular-toolkit-develop that referenced this issue Aug 31, 2022
# [5.0.0](ionic-team/angular-toolkit@v4.0.0...v5.0.0) (2021-10-28)

### Bug Fixes

* bump cheerio to rc4 ([905cff2](ionic-team/angular-toolkit@905cff2)), closes [#456](ionic-team/angular-toolkit#456)
* update deps to match latest angular ([0100b8b](ionic-team/angular-toolkit@0100b8b)), closes [#455](ionic-team/angular-toolkit#455) [#452](ionic-team/angular-toolkit#452)

### Features

* update to support angular 12.0 ([671bfba](ionic-team/angular-toolkit@671bfba)), closes [#459](ionic-team/angular-toolkit#459) [#460](ionic-team/angular-toolkit#460)

### BREAKING CHANGES

* Apps must use Angular 12.0
wand1252 added a commit to wand1252/angular-toolkit-develop that referenced this issue Aug 31, 2022
## [5.0.1](ionic-team/angular-toolkit@v5.0.0...v5.0.1) (2021-11-04)

### Bug Fixes

* **deps:** remove peer dep on devkit/architect ([eb46e23](ionic-team/angular-toolkit@eb46e23)), closes [#460](ionic-team/angular-toolkit#460)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants