Topic: Cannot do production build with 4.3.1
This (closed) problem was noted here: Failed to load resource when upgrading project from 4.2.0 to 4.3.0. Unfortunately, the workaround suggested only works for me on development builds. I still get an error related to the completer-list-item
when doing an AOT production build.
Łukasz Salamon pro answered 7 years ago
ERROR in ENOENT: no such file or directory, open '/Users/luki/Downloads/mdb-angular-pro-4.3.1/src/app/angular-bootstrap-md/pro/autocomplete/components/completer-list-item.component.html'
Edyta Dabrowska answered 7 years ago
Andrew pro commented 7 years ago
What? AOT is an integral part of any Angular production build. How can you even consider promoting/selling a product without AOT?Łukasz Salamon pro commented 7 years ago
Agree with Andrew. And according to Adrian's responses in https://mdbootstrap.com/support/mdb-angular-pro-4-3-1-does-not-build-in-the-prod-mode/ you are looking to fix it asap.riccy pro commented 7 years ago
with AOT my app loaded in ca. 1 second. now just because of mdb-angular I had to remove AOT. The app now takes about 4-6 seconds to load. "thinking about adding AOT in the future" shouldn't be considered an option. please fix this asap.Edyta Dabrowska answered 7 years ago
Dawid Adach pro answered 7 years ago
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: Yes