-
Notifications
You must be signed in to change notification settings - Fork 24.1k
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
JavascriptException: Maximum call stack size exceeded when running apk file #19238
Comments
|
Hi, @alvelig! Can you please explain why |
It helped in my case. According to #16689 this doesn't happen in 0.49.5, so just downgrading helped in my case |
@alvelig thanks. I'm not able to test it at the moment, but I'm gonna share if succeed with |
https://github.com/facebook/react-native/releases/tag/v0.50.0 Then it should be there. Also try if it works in 0.50 just to confirm, then some of the breaking changes should be causing this. |
Removing presets worked for me . I was using "@connect" decorator after removing presets and leaving only "react-native" all works just fine. |
Yeah, that's the case, @Vahanerevan but I needed it with presets working.... 😞 |
this is not possible to solve in the described way I removed all the @connect decorators still I am getting erros and I can not remove stage0 presets because react-navigation starts giving errors. So this is catch 22. Can someone please look into this problem. |
Also I tried changing my version to 49.5 I am getting exactly same error I can test my app but not release it . |
I'm now seeing this issue in 0.56.0. I do have a lot of resolutions to fix the babel upgrade though... Only happening with prod builds, --dev is fine. |
@sebirdman Any solution worked for you? I am seeing the error below only on Prod builds.
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Steps to Reproduce
react-native
init MyApp
babel-plugin-transform-class-properties
(^6.24.1
) andstage-0
Note that it works with the
react-native
and thees2015
presetsgradlew assembleRelease
When run:
Expected Behavior
I expect everything just to work!
Actual Behavior
The app is built successfully but when we install the app on whatever device we get
The app stopped working.
error. I researched it a bit and found this log in thelogcat
:I searched a bit and find out these things (which may be helpful while resolving the issue):
package.json
file, shown here: https://stackoverflow.com/questions/46170844/maximum-call-stack-size-exceeded-in-react-native, DIDN'T WORK FOR MEstage-0
preset and the plugin are removed, but in my case I need them.Hopefully all listed information will be helpful.
The text was updated successfully, but these errors were encountered: