-
Notifications
You must be signed in to change notification settings - Fork 71
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
ng (build|serve) -prod #13
Comments
Thank you for reporting! I really appreciate it. Currently I'm researching this issue. This happens because of aot compilation. Temporarily solution is |
Thanks for your temporary solution, it's work very well. |
according to jvandemo/generator-angular2-library#116 (thx @maychan111) Next update, it should work with AOT compilation |
I'm getting this today, why is that?
I'll spare you my whole modules files but i made sure to have the entries in every section here :
as for my
and my html :
I am compiling in aot. EDIT : but if I add the --aot=false flag I don't get this error. here's my package.json :
|
the |
When I use "ng serve" I have no problem, but when I use "-prod" option I have this warnings on build.
The notifications aren't show, on console browser I have this stack error.
I imported and exported in ShareModule.
Here do you see my versions libraries.
Thank you for your project.
The text was updated successfully, but these errors were encountered: