Closed MikhaelGerbet closed 7 years ago
I have founded the problem. It's angular2-notifications when you use in a service. He's not compatible with build -prod.
But it's possible to use angular2-notifications in components ;)
@MikhaelGerbet im using its default NotificationService and still accur with this issue
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
hi, i have this error when i try a prod builded version.
But i think, is not a fail of angular cookie because, i don't use this lib.
The compiled code fail :
the probleme is localized here :
function w(t,e){var n=t+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[mo]=e,r}
Versions.
@angular/cli: 1.1.0 node: 6.10.3 os: win32 x64 (win 10) @angular/animations: 4.2.5 @angular/common: 4.2.5 @angular/compiler: 4.2.5 @angular/core: 4.2.5 @angular/forms: 4.2.5 @angular/http: 4.2.5 @angular/platform-browser: 4.2.5 @angular/platform-browser-dynamic: 4.2.5 @angular/router: 4.2.5 @angular/cli: 1.1.0 @angular/compiler-cli: 4.2.5 @angular/language-service: 4.2.5
Repro steps.
NPM Package
Thank you by advance