Closed tsonevn closed 6 years ago
@virtualbjorn can you try to update yo the latest nativescript-dev-webpack and nativescript-angular. Then with removed platforms folder you can rebuild the project with AOT and let us know if the build is successful.
Upgrade instructions via automated scripts can be found in this documentation section
@NickIliev I updated and tried using the latest nativescript-dev-webpack and nativescript-angular but still the same error.
From @virtualbjorn on July 10, 2018 23:32
Did you verify this is a real problem by searching the [NativeScript Forum]
Yes
Tell us about the problem
Applied webpacking on an angular project. The app runs fine without --env.aot.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Sadly, the app I'm currently building is an enterprise app and I'm not sure if this can be replicated. But here's the error log:
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Copied from original issue: NativeScript/NativeScript#6052