silveridea / ngx-push-notifications

DEPRECATED - Push notifications for PWA using Service Workers in Angular
20 stars 6 forks source link

Angular 8 update #9

Open ivan00 opened 5 years ago

arqambinrehan-ignishealth commented 4 years ago

Any update?

ssrivastava187 commented 4 years ago

@silveridea Any updates for Angular 8. Error:

./ngx-push-notifications/ngx-push-notifications.ts(19,2): Error during template compile of 'PushNotificationService'
  Function calls are not supported in decorators but 'ɵmakeDecorator' was called in 'Injectable'
    'Injectable' calls 'ɵmakeDecorator'
jacekard commented 4 years ago

Hi, I'm not sure if it's related but I'm receiving a bunch of errors while trying to add the library:

` ERROR in node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_init.d.ts:29:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

29     static ɵfac: ɵngcc0.ɵɵFactoryDef<ApplicationInitStatus, [{ optional: true; }]>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_init.d.ts:30:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

30     static ɵprov: ɵngcc0.ɵɵInjectableDef<ApplicationInitStatus>;
                            ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_module.d.ts:32:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵNgModuleDefWithMeta'.

32     static ɵmod: ɵngcc0.ɵɵNgModuleDefWithMeta<ApplicationModule, never, never, never>;
                           ~~~~~~~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_module.d.ts:33:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectorDef'.

33     static ɵinj: ɵngcc0.ɵɵInjectorDef<ApplicationModule>;
                           ~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_ref.d.ts:145:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

145     static ɵfac: ɵngcc0.ɵɵFactoryDef<PlatformRef, never>;
                            ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_ref.d.ts:146:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

146     static ɵprov: ɵngcc0.ɵɵInjectableDef<PlatformRef>;
                             ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_ref.d.ts:312:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

312     static ɵfac: ɵngcc0.ɵɵFactoryDef<ApplicationRef, never>;
                            ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/application_ref.d.ts:313:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

313     static ɵprov: ɵngcc0.ɵɵInjectableDef<ApplicationRef>;
                             ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/console.d.ts:12:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

12     static ɵfac: ɵngcc0.ɵɵFactoryDef<Console, never>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/console.d.ts:13:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

13     static ɵprov: ɵngcc0.ɵɵInjectableDef<Console>;
                            ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/linker/compiler.d.ts:71:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

71     static ɵfac: ɵngcc0.ɵɵFactoryDef<Compiler, never>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/linker/compiler.d.ts:72:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

72     static ɵprov: ɵngcc0.ɵɵInjectableDef<Compiler>;
                            ~~~~~~~~~~~~~~~
[96mnode_modules/ngx-push-notifications/node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts:39:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

39     static ɵfac: ɵngcc0.ɵɵFactoryDef<SystemJsNgModuleLoader, [null, { optional: true; }]>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts:40:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

40     static ɵprov: ɵngcc0.ɵɵInjectableDef<SystemJsNgModuleLoader>;
                            ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/testability/testability.d.ts:90:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

90     static ɵfac: ɵngcc0.ɵɵFactoryDef<Testability, never>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/testability/testability.d.ts:91:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

91     static ɵprov: ɵngcc0.ɵɵInjectableDef<Testability>;
                            ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/testability/testability.d.ts:134:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵFactoryDef'.

134     static ɵfac: ɵngcc0.ɵɵFactoryDef<TestabilityRegistry, never>;
                            ~~~~~~~~~~~~
node_modules/ngx-push-notifications/node_modules/@angular/core/src/testability/testability.d.ts:135:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/src/r3_symbols"' has no exported member 'ɵɵInjectableDef'.

135     static ɵprov: ɵngcc0.ɵɵInjectableDef<TestabilityRegistry>;
                             ~~~~~~~~~~~~~~~
node_modules/ngx-push-notifications/src/app/services/push-notification.service.d.ts:23:25 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDef'.

23     static ɵfac: ɵngcc0.ɵɵFactoryDef<PushNotificationService, never>;
                           ~~~~~~~~~~~~
node_modules/ngx-push-notifications/src/app/services/push-notification.service.d.ts:24:26 - error TS2694: Namespace '"D:/Projekty/TaskReporter/task-reporter-pwa/task-reporter/node_modules/ngx-push-notifications/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDef'.

24     static ɵprov: ɵngcc0.ɵɵInjectableDef<PushNotificationService>;
                            ~~~~~~~~~~~~~~~
`

Any info about this?