Comments (3)
Any update?
from ngx-push-notifications.
@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'
from ngx-push-notifications.
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?
from ngx-push-notifications.
Related Issues (8)
- Function calls are not supported in decorators but '?makeDecorator' was called in 'Injectable' HOT 4
- Safari HOT 1
- Custom template design for notification
- Error when building for production HOT 9
- sound not playing HOT 1
- production build issues due to library unable to install under node_modules HOT 5
- node_modules folder still exists inside the library HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-push-notifications.