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 9.0 Upgrade Issue #2210

Closed
1 of 2 tasks
elucidsoft opened this issue Feb 9, 2020 · 2 comments
Closed
1 of 2 tasks

Angular 9.0 Upgrade Issue #2210

elucidsoft opened this issue Feb 9, 2020 · 2 comments
Milestone

Comments

@elucidsoft
Copy link

  • bug report
  • feature request

Issue description

Current behavior:

run ng update @angular/cdk

Recieve error: Package "@nebular/theme" has an incompatible peer dependency to "@angular/cdk" (requires "^8.0.0", would install "9.0.0").

Expected behavior:
@angular/cdk updates

Steps to reproduce:
run ng update @angular/cdk

@yggg yggg added this to the 5.0.0 milestone Feb 10, 2020
@Destreyf
Copy link

@elucidsoft

It'll be nice once the 5.0.0 release comes around, however you may be able to get around this at least for development purposes by issuing an upgrade command with force, this is how i did it in the interim.

ng update @angular/cdk --force -C

--force ignores any dependency conflicts YMMV.
-C makes it commit any changes it performs to your codebase as an individual commit, this is useful when doing regular angular upgrades so you can step back through to find any issues caused by the automated migrations found within angular's CLI.

I am going to stress that YMMV with this, i haven't had issues building production bundles or running a development serve, but this doesn't mean that you'll have no issues.

@yggg
Copy link
Contributor

yggg commented Mar 16, 2020

Fixed by #2236

@yggg yggg closed this as completed Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants