Closed ryaa closed 3 years ago
Hi @ryaa,
I created an Angular 11.x app, I added the library, but i got no errors during the build.
Then I created an Ionic app, but i got no errors during the build.
My environment:
Angular CLI: 11.1.4
Node: 14.15.1
OS: win32 x64
Ionic:
Ionic CLI : 6.13.1 (C:\Users\simon\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.6.0
@angular-devkit/build-angular : 0.1101.4
@angular-devkit/schematics : 11.2.4
@angular/cli : 11.1.4
@ionic/angular-toolkit : 3.1.0
So I have to ask you to create a repro so I can investigate the problem.
@robisim74 thank you for the quick response.
I created new ionic/angular application and added your library however the problem did not appear there and everything works fine. I did a little more investigation and found the below problem in ivy generated file
Once I removed the duplicate everything started to work. I also uninstall and install angular-l10 library and build again, and the problem was not reproducible.
My assumption is that this seems to be not the angular-l10 problem but ivy adding the duplicate entry in the generated file. Since i can not reproduce it anymore and everything works as expected I'm going to close this issue. If the problem appear again, i will provide more details
Thank you for your great library and support!
Describe the bug The angular 11.x (~11.2.0) app build fails with the below error
Note that it worked with Angular 10.x
To Reproduce Create an empty angular 11.x app and integrate this lib. After that the build fails with the error above I use ionic/angular and created the ionic/angular app from their starter template.
Expected behavior No error and everything is functional
Screenshots See the error above
Desktop (please complete the following information): N/A
Smartphone (please complete the following information): N/A
Additional context