Skip to content
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

Adding realm with "yarn add realm" causes react native app to crash without error message #3858

Closed
MSrotyr opened this issue Jul 16, 2021 · 5 comments

Comments

@MSrotyr
Copy link

MSrotyr commented Jul 16, 2021

Goals

To use realm in our project
Adding realm with "yarn add realm" causes react native app to crash without error message
yarn_add_realm.txt
react_native_start.txt
react_native_run_android.txt

Expected Results

Expected app to run

Actual Results

App crashes without error

Version of Realm and Tooling

  • Realm JS SDK Version: Default version
  • Node or React Native: React Native
  • Client OS & Version: Windows 10
  • Which debugger for React Native: ?/None
@takameyer
Copy link
Contributor

takameyer commented Jul 16, 2021

@MSrotyr Thanks for reporting. I will try to see if I can reproduce this. In the meantime, the following information would be helpful.

  • Can you tell me what version of realm and react-native are installed in your app?
  • Can provide an example of how you are implementing realm?
  • What versions of node and npm are you using?

@MSrotyr
Copy link
Author

MSrotyr commented Jul 16, 2021

Realm Version: 10.6.0
react-native: "0.63.4"

Have not implemented realm at all. I've only added it as a dependency.

Node: 16.4.2

npm: 7.18.1

@oguzhannkayaa
Copy link

oguzhannkayaa commented Jul 16, 2021

my also crashing

npm install realm

"realm": "^10.6.0",
"react-native": "0.63.4","
"node": v15.2.0

Edit: I solved my problem. I missed to add an schema name.

@MSrotyr
Copy link
Author

MSrotyr commented Jul 16, 2021

Okay, found out from here #3713 that realm is incompatible with hermes. So this could explain it.

@takameyer
Copy link
Contributor

takameyer commented Jul 19, 2021

@MSrotyr thanks for reporting. Please track our PR #3792 for Hermes support.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants