Skip to content

Not working in Angular 20 #2013

@jatingarala

Description

@jatingarala

[ERROR] TS2307: Cannot find module 'chart.js/dist/types/utils' or its corresponding type declarations. [plugin angular-compiler]

node_modules/ng2-charts/lib/ng-charts.provider.d.ts:3:28:
  3 │ import { DeepPartial } from 'chart.js/dist/types/utils';
    ╵                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~

I get above error when update angular to 20, I am using latest ng2-charts version

"ng2-charts": "^8.0.0",
"chart.js": "^4.4.9",

Request to update version to support Angular 20.

Thank you

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions