Skip to content
New issue

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

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

Already on GitHub? # to your account

Issue with Angular 9 #148

Open
chrisleekr opened this issue Apr 16, 2020 · 4 comments
Open

Issue with Angular 9 #148

chrisleekr opened this issue Apr 16, 2020 · 4 comments

Comments

@chrisleekr
Copy link

chrisleekr commented Apr 16, 2020

Hi,

I am having an issue with ng2-select2 with Angular 9 at the moment.

ERROR in node_modules/ng2-select2/ng2-select2.component.d.ts:2:88 - error TS2724: Module '"../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?
    
    2 import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Renderer, OnInit } from '@angular/core';
                                                                                             ~~~~~~~~
    
      node_modules/@angular/core/core.d.ts:5763:31
        5763 export declare abstract class Renderer2 {
                                           ~~~~~~~~~
        'Renderer2' is declared here.

Is there any plan to fix this issue or any interim solution?

@richirm
Copy link

richirm commented Apr 18, 2020

Hi,
I am having the same issue, I need the fix please.

@suhailkc
Copy link

Hi,
I have the same issue.
Is there any fix?

@KevinCSTing
Copy link

Any update on this one? I'm getting the exact same issue.

@KevinCSTing
Copy link

This could help somebody, but I used https://www.npmjs.com/package/tastewise-ng2-select2 instead of just ng2-select2.
This new one is for angular 9 and up. All you need to do is update the import statements and it will fix the Renderer2 message.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants