carbon-tutorial-angular
carbon-tutorial-angular copied to clipboard
TableModel does not appear to be an NgModule class
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