-
Notifications
You must be signed in to change notification settings - Fork 4
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-flash-messages not working with aot prod build #3
Comments
Hey! Thanks for the question someone will answer you soon. |
@navdeep1206 what version of Angular are you using? |
Hi Thanks |
@sureshDurai123 this library was designed and developed during the initial days of Angular 2 so it might break on the latest version of Angular. I'm planning to upgrade this library to the latest version of Angular soon and I really appreciate your patience |
Sure ,Thanks @ameerthehacker |
@ameerthehacker I am keen too, spend ages trying to figure why my new migration to Angular 8 was failing at runtime with production builds, then eventually after tuning on AOT in dev I found the source of the error. Up vote from me to bring this up to new standards. Cheers |
HI,
i have got issue with ng-flash-messages if i go for --prod build. Getting error as r is not a constructor.
ERROR TypeError: r is not a constructor
at Jm (main.5d2699bc6087e3578f19.js:1)
at Km (main.5d2699bc6087e3578f19.js:1)
at Ev (main.5d2699bc6087e3578f19.js:1)
at Object.Sv [as createEmbeddedView] (main.5d2699bc6087e3578f19.js:1)
at e.createEmbeddedView (main.5d2699bc6087e3578f19.js:1)
at t.createEmbeddedView (main.5d2699bc6087e3578f19.js:1)
at t._updateView (main.5d2699bc6087e3578f19.js:1)
at t.set [as ngIf] (main.5d2699bc6087e3578f19.js:1)
at iv (main.5d2699bc6087e3578f19.js:1)
at main.5d2699bc6087e3578f19.js:1
removing ng-flash-messages solves the issue.
Any help on this will be highly appreciated.
The text was updated successfully, but these errors were encountered: