It's giving error in angular10 as showing 'Renderer2' is declared here.
See original GitHub issueIt’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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:16
- Comments:10
Top Results From Across the Web
It's giving error in angular10 as showing 'Renderer2' is ...
It's giving error in angular10 as showing 'Renderer2' is declared here. ... It's need Renderer2 instead of Renderer in angular 10.
Read more >angular - Service: No provider for Renderer2
However, I run into this error: Error: no provider for Renderer2! The service belongs to a CoreModule whose only import is CommonModule from...
Read more >Renderer2
Use to store arbitrary developer-defined data on a renderer instance, as an object containing key-value pairs. This is useful for renderers that delegate...
Read more >Template type checking
Troubleshooting template errorslink · When a library's typings are wrong or incomplete (for example, missing null | undefined if the library was not...
Read more >Renderer to Renderer2 migration
The deprecated Renderer class has been removed in version 9 of Angular, so it's necessary to migrate to a supported API. Using Renderer2...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/SaeedSpate/ngx-gallery-9
@dhiraj66 You need to delete the existing packages by saying
npm uninstall ngx-gallery
and then install this package by sayingnpm install ngx-gallery-9 --save
and use it as ‘ngx-gallery-9’ in your module.