Topic: Webpack AOT build errors
CaptainPants pro asked 6 years ago
A question was posed earlier by someone stating that your project throws errors in Jhipster (or any webpack aot compile)
The reason is that when you guys write your event handlers it looks often like this:
@HostListener('window:resize', ['$event'])
onResize(): void {
}
I.E you are injecting the event into a method that is not expecting the event so an error is thrown.
(Expected 0 arguments, but got 1.)
So I am currently fixing this myself and repackaging your project but this should be something that is fixed right away as it is present even in the Professional version of your product.
Kind Regards,
Nick
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 6 years ago
Dear Captainpants, Thanks for your report. We'll fix this with next release of MDB Angular. Best Regards, Damian