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

angular update - migration failed: Incompatible peer dependencies found #437

Closed
luboslav opened this issue Jan 22, 2021 · 5 comments
Closed
Labels

Comments

@luboslav
Copy link

When trying to update angular version via ng update @angular/core @angular/cli I get errors:

Package "@ionic/angular-toolkit" has an incompatible peer dependency to "@angular-devkit/architect" (requires "^0.1100.0", would install "0.1101.0")
Package "@ionic/angular-toolkit" has an incompatible peer dependency to "@angular-devkit/build-angular" (requires "^0.1100.0", would install "0.1101.0")
@fmendoza
Copy link

Just add --force as a workaround

@mhartington
Copy link
Contributor

Yeah, until the devkit team properly follows semver, this isn't really something that can account for. With their versioning being so different, any npm/yarn semver checks will not satisfy

https://jubianchi.github.io/semver-check/#/~0.1100.0/0.1101.0

As a temp work around, --force should work without issues.

@luboslav
Copy link
Author

luboslav commented Feb 3, 2021

Use of --force works, thank you.

@ASomerN
Copy link

ASomerN commented Feb 9, 2021

When forcing this change it introduces a breaking change when compiling an ionic app to Android, we get an error fn.bind() is not a function in logcat. Reverting resolves the issue.

@mhartington mhartington reopened this Feb 9, 2021
@mhartington
Copy link
Contributor

@ASomerN That issue actually related to chrome and an angular release, not anything specific to angular toolkit.

https://twitter.com/LPCMedia/status/1352272779014533121

Going to close this as I merged e8c5cf9 which should address this.

Thank you!

wraiford added a commit to wraiford/ibgib that referenced this issue Mar 28, 2022
* some of the ionic dependencies to angular were lower.
* ionic-team/angular-toolkit#437
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

4 participants