Skip to content

Build errors (Renderer) after upgrading to Angular 10 #7

@contactipraju

Description

@contactipraju

Hey Ramy,

I've recently upgraded Angular in my project to the latest version (10) and got the following build error. Let me know if you have a fix for this. Thanks in advance.

Prasad


ERROR in node_modules/ngx-grid-stack/lib/grid-stack-item/grid-stack-item.component.d.ts:1:44 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { OnInit, ComponentRef, ElementRef, Renderer, EventEmitter, OnDestroy, AfterViewInit, ViewContainerRef } from '@angular/core';
~~~~~~~~

node_modules/@angular/core/core.d.ts:5764:31
5764 export declare abstract class Renderer2 {
~~~~~~~~~
'Renderer2' is declared here.
node_modules/ngx-grid-stack/lib/grid-stack/grid-stack.component.d.ts:1:33 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { QueryList, ElementRef, Renderer, AfterContentInit } from '@angular/core';
~~~~~~~~

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions