Skip to content

Angular 16 Compatibility? #66

@jenniferchau

Description

@jenniferchau

Hi, I am using angular2-chartjs v0.5.1 and am in the process of upgrading to Angular 16. I am getting this error when trying to build my application.

error NG6002: 'ChartModule' does not appear to be an NgModule class.
[ERROR] 
[ERROR] 449     ChartModule,
[ERROR]         ~~~~~~~~~~~
[ERROR] 
[ERROR]   node_modules/angular2-chartjs/dist/chart.module.d.ts:1:22
[ERROR]     1 export declare class ChartModule {
[ERROR]                            ~~~~~~~~~~~
[ERROR]     This likely means that the library (angular2-chartjs) which declares ChartModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

Any insight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions