carbon-design-system / carbon-design-system/carbon-tutorial-angular

TableModel does not appear to be an NgModule class

Open
#1,150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
20
Forks
883
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.