-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
React Native App Crashes on release in Google Play Store with exception: com.facebook.react.common.JavascriptException: Object is not a function (evaluating '(0,babelHelpers.interopRequireDefault(u).default)()') #20861
Comments
The release APK works perfectly on emulator and devices, although some behavior differs between when remote debugging is activated compared to otherwise. Package.json: "dependencies": { |
Can you run If you believe this information is irrelevant to the reported issue, you may write |
@tobiloba23 I am having a similar issue. Whenever I run locally in android and ios it works fine. However, when I do a release build it crashes in device. Error
React Native Info
|
@abartolo is there a way we can escalate this issue. I am running behind on delivering my project. |
@tobiloba23 I am also not sure. I created #20882 in hope of some more attention. |
same issue here |
It looks like you are using an older version of React Native. Please update to the latest release, v0.56 and verify if the issue still exists. The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running |
@tobiloba23 Can you "react-native info" in order to let the bot remove the "Old Version" tag. I am getting error I posted above with the following: react-native info
|
I have run info but I am using RN 0.55.4, an old version. 0.56 doesn't work on Windows. I upgraded to 0.57-rc3 and I get a similar error to this on the debug apk |
Closing as this is a report for an older version.... |
I am facing same issue RN 0.65 |
I am facing same issue RN 0.57,only release version |
+1 I am facing same issue, I am using |
Environment
Environment:
OS: Windows 10
Node: 10.6.0
Yarn: Not Found
npm: 6.1.0
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4907809
Packages: (wanted => installed)
react: 16.4.1 => 16.4.1
react-native: 0.55.4 => 0.55.4
Description
App crashes on launch from the Google play store with the above mentioned exception. See stack trace from play store below:
FATAL EXCEPTION: mqt_native_modules
Process: XXXX, PID: 15893
com.facebook.react.common.JavascriptException: Object is not a function (evaluating '(0,babelHelpers.interopRequireDefault(u).default)()'), stack:
@12:88
d@2:768
n@2:339
t@2:262
global code@622:8
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:160)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:158)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:192)
at java.lang.Thread.run(Thread.java:818)
Reproducible Demo
Issue happens on Google play store so I have no idea how to reproduce. It works perfectly on my local computer.
The text was updated successfully, but these errors were encountered: