Skip to content

ng2-charts v7 not supporting Angular 18 #2012

@ingrocha

Description

@ingrocha

👋 Hi,

I'm trying to integrate ng2-charts@7.0.0 into a project using Angular 18 (@angular/common@18.2.3), but I'm encountering a dependency conflict during installation. The error reads:

While resolving: my-app
Found: @angular/common@18.2.3
Could not resolve dependency:
peer @angular/common@"^19.0.0 || ^20.0.0" from @angular/cdk@19.2.11
peer @angular/cdk@">=18.0.0" from ng2-charts@7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething broken or not working as documentedpriority: highSignificant user impact, active discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions