Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compiling in anglar 9 Ivy renderer #619

Open
sujithmathewthomas opened this issue Apr 9, 2020 · 6 comments · May be fixed by #623
Open

Not compiling in anglar 9 Ivy renderer #619

sujithmathewthomas opened this issue Apr 9, 2020 · 6 comments · May be fixed by #623

Comments

@sujithmathewthomas
Copy link

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.
@ironcdrk
Copy link

I had the same problem. I have changed the import for Renderer2, but still not working

@suhailkc
Copy link

Is there any plan to update?

@PrashantChavanD
Copy link

I had the same problem.

@nbadiganti
Copy link

nbadiganti commented Aug 13, 2020

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

@brocktubre
Copy link

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.

@ashishbhave
Copy link

Is there any plan to update for supporting angular 9 or above version ?

Narshe1412 added a commit to Narshe1412/ng2-table that referenced this issue Oct 26, 2022
@Narshe1412 Narshe1412 linked a pull request Oct 26, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants