Skip to content

TableModel does not appear to be an NgModule class #1150

@dongtrieuit

Description

@dongtrieuit

I use Angular 16.2.10 and "carbon-components-angular": "^5.20.3",

When AppModule import TableModel

Error: src/app/app.module.ts:51:3 - error NG6002: 'TableModel' does not appear to be an NgModule class.

51 TableModel,
~~~~~~~~~~

node_modules/carbon-components-angular/table/table-model.class.d.ts:44:22
44 export declare class TableModel implements PaginationModel {
~~~~~~~~~~
This likely means that the library (carbon-components-angular) which declares TableModel 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.

@cal-smith @mattrosno @jeffchew @kennylam @Ratheeshrajan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions