ng2-table
ng2-table copied to clipboard
Not compiling in anglar 9 Ivy renderer
Following error is being thrown after migrating to angular 9 ERROR in Debug Failure. False expression.
ERROR in node_modules/ng2-table/components/table/ng-table-filtering.directive.d.ts:1:36 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?
1 import { EventEmitter, ElementRef, Renderer } from '@angular/core';
~~~~~~~~
node_modules/@angular/core/core.d.ts:5761:31
5761 export declare abstract class Renderer2 {
~~~~~~~~~
'Renderer2' is declared here.
I had the same problem. I have changed the import for Renderer2, but still not working
Is there any plan to update?
I had the same problem.
ng2-table is not compatible with angular 9 or later versions.
ERROR in node_modules/ng2-table/components/table/ng-table-filtering.directive.d.ts:10:48 - error TS2304: Cannot find name 'Renderer'. constructor(element: ElementRef, renderer: Renderer);
Uncaught TypeError: Cannot read property 'id' of undefined at registerNgModuleType (core.js:36241) error
I am having this same issue and not able to use the library or build out table. I am upgrading my Angular version to the latest which of now is: 11.0.4. The following error is happening:
Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?
1 import { EventEmitter, ElementRef, Renderer } from '@angular/core';
~~~~~~~~
node_modules/@angular/core/core.d.ts:5914:31
5914 export declare abstract class Renderer2 {
~~~~~~~~~
'Renderer2' is declared here.
Is there any plan to update for supporting angular 9 or above version ?