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

has no exported member 'Renderer'. Did you mean 'Renderer2' #16

Open
kenibarwick opened this issue Feb 14, 2020 · 4 comments
Open

has no exported member 'Renderer'. Did you mean 'Renderer2' #16

kenibarwick opened this issue Feb 14, 2020 · 4 comments

Comments

@kenibarwick
Copy link

Module '"../../../../../OneSignal-Ionic-Example/node_modules/@angular/core/core"' has no exported member
'Renderer'. Did you mean 'Renderer2'?

Renderer has been deprecated since v4 and is removed in v9

My Angular is;

Angular CLI: 7.3.9
Node: 12.14.1
OS: win32 x64
Angular: 9.0.1
... common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic

Package Version

@angular-devkit/architect 0.13.9 (cli-only)
@angular-devkit/build-optimizer 0.0.35
@angular-devkit/core 7.3.9 (cli-only)
@angular-devkit/schematics 7.3.9 (cli-only)
@angular/http 7.2.16
@schematics/angular 7.3.9 (cli-only)
@schematics/update 0.13.9 (cli-only)
rxjs 6.5.4
typescript 3.7.5
webpack 3.12.0

$ ionic info

Ionic:

Ionic CLI : 6.1.0 (C:\Users\KeniBarwick\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4

Cordova:

Cordova CLI : 9.0.0 ([email protected])
Cordova Platforms : android 6.4.0
Cordova Plugins : no whitelisted plugins (7 plugins total)

Utility:

cordova-res : not installed
native-run : 0.2.9

System:

Android SDK Tools : 26.1.1 (C:\Users\KeniBarwick\AppData\Local\Android\Sdk)
NodeJS : v12.14.1 (C:\Program Files\nodejs\node.exe)
npm : 6.13.4
OS : Windows 10

@mryerro
Copy link

mryerro commented Mar 26, 2020

Did you find any solution for this?

@NidheeshMv
Copy link

Hey Team,
Im using Nativescript version 8.2.1 supporting only Renderer. I want to migrate to Angular 9.
getting below issue

node_modules/@nativescript/angular/router/ns-router-link-active.d.ts:1:73 - error TS2724: Module '"../../../@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { AfterContentInit, ElementRef, OnChanges, OnDestroy, QueryList, Renderer } from "@angular/core";


node_modules/@angular/core/core.d.ts:5752:31
5752 export declare abstract class Renderer2 {

'Renderer2' is declared here.

@JhonH3avy
Copy link

Check this post https://github.com/angular/components/issues/18592 shows that someone managed to fix the problem by updating a dependency

@poovseka
Copy link

Check this post https://github.com/angular/components/issues/18592 shows that someone managed to fix the problem by updating a dependency

it's displayed empty..

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

5 participants