-
Notifications
You must be signed in to change notification settings - Fork 253
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 0.73.1] Running the app on Android crashes: TypeError: Cannot read property 'configure' of null, js engine: hermes #2064
Comments
@jayang102 what was the resolution here? I'm running into exactly the same issue. |
I dont know that this is resolved. Seeing the same issue on: also tried: current setup:
caveat: this is via a react-native-tvos build, but the error is exactly as described above. getting: ...and the screen displays just as in the initial screenshot above. |
Hi @aecorredor and @joshuaben After setting up a React Native 0.73 app with BugSnag, I am able to successfully build and run the app in a simulator. However, we have noticed that some architectural changes in the Android layer for RN 0.73 means that the If you have followed all the manual setup steps for Android and are still experiencing this problem, can you please open a ticket with us directly by reaching out to [email protected], referencing this GitHub issue, and share your |
On my end, I ran into issues after having pulled from a branch that integrated bugsnag. I had to make sure to fully clean the RN project. That did the trick, making the error go away. Thanks! |
We have now released a new version of the BugSnag React Native CLI, which is compatible with React Native 0.73: https://www.npmjs.com/package/@bugsnag/react-native-cli/v/7.22.6 For any users who are having issues when setting up a RN 0.73 project with BugSnag, please ensure you've referred to our automatic setup documentation: https://docs.bugsnag.com/platforms/react-native/react-native/#installation-and-configuration |
Im running on I tried @bugsnag/react-native-cli (latest and 7.22.6 version) - same results My build.gradle
my app/build.gradle
my MainApplication.java
|
Hi @mysticek Can you please confirm that |
Thank you for response. Of course, here is my index.js file:
|
Hi @mysticek Thank you for sharing this additional info. For our further investigation could you please share a link to a reproduction application? |
Describe the bug
After adding the latest Bugsnag dependency to my React Native project (0.73.1), I'm getting the following error from the Bugsnag files in
node_modules
:TypeError: Cannot read property 'configure' of null, js engine: hermes
fromconfig.js (76.44)
Commenting out
Bugsnag.start()
inindex.js
, the app runs as expected.I've followed all the steps in https://docs.bugsnag.com/platforms/react-native/react-native/ and followed up with the Manual Installation steps for Android to check if something was wrong https://docs.bugsnag.com/platforms/react-native/react-native/manual-setup/.
iOS works without issues.
Steps to reproduce
Environment
7.22.3
Example code snippet
The text was updated successfully, but these errors were encountered: