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

It's giving error in angular10 as showing 'Renderer2' is declared here. #325

Open
bjornlarssonviggeby opened this issue Jul 11, 2020 · 10 comments

Comments

@bjornlarssonviggeby
Copy link

It's need Renderer2 instead of Renderer in angular 10. Kindly update it.

node_modules/ngx-gallery/ngx-gallery-preview.component.d.ts:1:89 - error TS2724: Module '"../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { ChangeDetectorRef, EventEmitter, OnInit, OnChanges, SimpleChanges, ElementRef, Renderer } from '@angular/core';
                                                                                          ~~~~~~~~

  node_modules/@angular/core/core.d.ts:5764:31
    5764 export declare abstract class Renderer2 {
                                       ~~~~~~~~~
    'Renderer2' is declared here.
@azizkhani
Copy link

@fmayorgad
Copy link

Same here

@jenish4096
Copy link

facing the same issue, anyone has a solution to this issue then let me know.
thank you

@azizkhani
Copy link

facing the same issue, anyone has a solution to this issue then let me know.

thank you

https://github.com/SaeedSpate/ngx-gallery-9

@danieldanielecki
Copy link

facing the same issue, anyone has a solution to this issue then let me know.
thank you

https://github.com/SaeedSpate/ngx-gallery-9

Worked out, thanks!

@mpeguero
Copy link

Just install the 4.7 version.

npm install [email protected] --save

I had same error and this solved it

@rickynguyenc
Copy link

Just install the 4.7 version.

npm install [email protected] --save

I had same error and this solved it

Thank you so much, it works !

@ShivamShokeen
Copy link

Still getting the same error after installing npm install [email protected] --save or npm install ngx-gallery-9 --save

@dhiraj66
Copy link

I am using Angular 9 and facing the same error even after installing npm install [email protected] --save or npm install ngx-gallery-9 --save
Please Help

@canerinali
Copy link

@dhiraj66 You need to delete the existing packages by saying npm uninstall ngx-gallery and then install this package by saying npm install ngx-gallery-9 --save and use it as 'ngx-gallery-9' in your module.

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

No branches or pull requests

10 participants