Skip to content

Circular dependency error on ng update #10367

Closed
@cyrilletuzi

Description

@cyrilletuzi

Versions

cli v6.0.0-rc.5

Repro steps

From an Angular 5 project with Material:

  • npm install @angular/cli@next
  • ng update @angular/cli --migrate-only --from 1

If doing the Angular/RxJS update first:
ng update @angular/core --next
Errors to:
Package "@angular/cdk" has an incompatible peer dependency to "@angular/common" (requires "^5.0.0", would install "6.0.0-rc.5").

If doing the Material update first:
ng update @angular/material --next
Errors to:
Package "@angular/common" has an incompatible peer dependency to "rxjs" (requires "^6.0.0-rc.0", would install "5.5.10")

If doing a global update:
ng update --next --all
Errors to:
Package "@angular/core" has an incompatible peer dependency to "rxjs"

Maybe it's just because of the --next option which causes a version mismatch, or because rxjs use rc tag instead of next tag, but not sure, so signaling.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docsRelated to the documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions