OneSignal-Ionic-Sample
OneSignal-Ionic-Sample copied to clipboard
has no exported member 'Renderer'. Did you mean 'Renderer2'
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
Did you find any solution for this?
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.
Check this post https://github.com/angular/components/issues/18592 shows that someone managed to fix the problem by updating a dependency
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..