-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
iOS crash when running with release/production flag: Can't find variable: __metadata #8778
Comments
Hi @nabilzhafri
|
@Ross-Olivares hi. for sample project, you can just follow instruction above. Simply copy steps from here: https://nativescript.org/blog/upgrading-tips-for-angular-10/ |
If you'd like another sample project that exhibits this behavior, |
@grey280 @nabilzhafri I think your issue is fixed in 7.0.5 |
@farfromrefug Nope - tested again with the Angular 'hello world' template after updating @nativescript/core to 7.0.5, same issue. Here's the stack trace from Xcode, if it's any help:
|
Did you update @nativescript/webpack? It needs an update too |
This is with @nativescript/webpack@3.0.4, which is the latest version I see available on NPM. |
I also tested by pulling this repo, building @nativescript/webpack from source, and dropping the result into node_modules, and had the same issue. (Admittedly, I'm not certain that I built @nativescript/webpack correctly, or that moving it into node_modules like that will even work how I was expecting it to.) |
I saw the new WebPack release go out earlier this morning, and just finished testing the 'hello world' app using that. Didn't resolve the problem. |
Fix published with |
@NathanWalker we need a new wepback release don't we? Will still fail because of the bundle config loader |
@nativescript/core@7.0.6 and @nativescript/webpack@3.0.5 seems to be working, thank you! @farfromrefug Nathan released @nativescript/webpack@3.0.5 a couple hours ago. |
Awesome then! |
Thanks for confirmation @grey280 please let us know if you encounter anything else. |
Simply copy steps from here: https://nativescript.org/blog/upgrading-tips-for-angular-10/
Any idea why? Tried to search for solution but can't find any.
Happens to my existing project as well after upgrading to angular 10. Right now I can't seem to deploy the iOS app due to this issue. It's causing the app to crash on launching.
The text was updated successfully, but these errors were encountered: