-
Notifications
You must be signed in to change notification settings - Fork 68
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
Build in Prod Mode failed #7
Comments
Could you add some details about how you use the library, in particular whether - and if how - you define custom options for this library? This would really help me trying to reproduce your issues. Thanks! |
in app.modules.ts
i use it without customNotifierOptions. same issues. in my start.component.ts
I hope it help. here the exact Error Message
|
May be related to angular/angular#12631, which then again was fixed 5 days ago by angular/angular#14894. Will dive deeper into this issue during the upcoming days. |
It actually was the issue referenced above - it got fixed for Angular 4 (for RC4 in particular). I've implemented a fix for angular-notifier to also make AoT compilation work with Angular 2, and will release version 1.0.4 within the next few minutes. |
Just released version 1.0.4 to NPM - @harryhahn, can you verify that everything is working fine for you now? |
Great |
When i build in --Prod Mode the build failed with:
ERROR in Error encountered resolving symbol values statically. Could not resolve type NotifierOptions (position 116:37 in the original .ts file), resolving symbol NotifierConfig in C:/Entwicklung/Projekte/marenta/marenta/node_modules/angular-n otifier/src/models/notifier-config.model.d.ts
ng b --prod => ERROR
When disable AOT it build without ERROR
ng b --prod --aot=false => OK
Thanks
The text was updated successfully, but these errors were encountered: