packages not compatible with angular 12
- Dominant language
- TypeScript
- Stars
- 8.1k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
no matter what I do This wont compile
Error: app/admin/fraud/table/table.component.html:23:9 - error NG8002: Can't bind to 'showOn' since it isn't a known property of 'ng-container'.
1. If 'showOn' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
23 [showOn]="getShowOn(index)"
~~~~~~~~~~~~~~~~~~~~~~~~~~~
app/admin/fraud/table/table.component.ts:181:16
181 templateUrl: './table.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component TableComponent.
Error: app/admin/fraud/table/table.component.html:27:11 - error NG8002: Can't bind to 'nbSortHeader' since it isn't a known property of 'th'.
27 [nbSortHeader]="getSortDirection(column)"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app/admin/fraud/table/table.component.ts:181:16
181 templateUrl: './table.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component TableComponent.
Error: app/admin/fraud/table/table.component.html:39:9 - error NG8002: Can't bind to 'nbTreeGridColumnDef' since it isn't a known property of 'ng-container'.
1. If 'nbTreeGridColumnDef' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
39 [nbTreeGridColumnDef]="column"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app/admin/fraud/table/table.component.ts:181:16
181 templateUrl: './table.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component TableComponent.
Error: app/admin/fraud/table/table.component.html:40:9 - error NG8002: Can't bind to 'showOn' since it isn't a known property of 'ng-container'.
1. If 'showOn' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.
2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
40 [showOn]="getShowOn(index)"
~~~~~~~~~~~~~~~~~~~~~~~~~~~
app/admin/fraud/table/table.component.ts:181:16
181 templateUrl: './table.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component TableComponent.
× Failed to compile.
Contributor guide
Assessment
This issue has not been assessed yet.