I have an Angular 11 application, which imports @angular/material
, @ngx-translate
, and a lib called icell-data-table.
Downloading the example project from the github page I was able to start it witout any problems on my local environment.
But upon extracting it to a Stadckblitz demo, I have encountered a strange error:
Error in /turbo_modules/@angular/compiler@11.1.1/bundles/compiler.umd.js (3057:21)
Template parse errors:
No provider for NgComponentOutlet ("onentTemplate [cellTemplate]="'componentTemplate'" let-row="row" let-col="col" let-idx="rowIdx">
[ERROR ->]<ng-container
*ngComponentOutlet="col.component; ndcDynamicInputs: getComponentInputs(row, col);"): ng:///DataTableModule/CellTemplatesComponent.html@23:2
The Stackblitz project can be found here. Any ideas about what is missing from it?
Update 1:
as @yurzui pointed out, there were incompatible dependencies in icell-data-table
and Angular 11. I have updated the lib with a proper dependency to ng-dynamic-component, which is now the Angular11 version (^8.0.0) of now.
But the stackblitz example still displays the error :(