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

unable to integrate in react-native version > 60.4 #52

Open
anshumanburman opened this issue Jul 27, 2019 · 7 comments
Open

unable to integrate in react-native version > 60.4 #52

anshumanburman opened this issue Jul 27, 2019 · 7 comments

Comments

@anshumanburman
Copy link

anshumanburman commented Jul 27, 2019

i am trying to add this library in react native version 60.4 for android but it is giving error. The error is related to realm and when i link the react-native link realm then it says node_package does not have realm. please resolve this issue.

@Li357
Copy link

Li357 commented Aug 6, 2019

I fixed this by installing realm as a dependency separately and linking.

@sgeier
Copy link

sgeier commented Oct 18, 2019

yeah with

  1. npm install realm
  2. react-native link realm

info Linking "realm" iOS dependency
info iOS module "realm" has been successfully linked
info Android module "realm" is already linked

Ticket can be closed I guess.

@gruffT
Copy link

gruffT commented Nov 17, 2019

Note, realm only supports Node 8 & Node 10 right now.
Switching to node 10 for my project fixed an install issue on iOS.

@gruffT
Copy link

gruffT commented Feb 15, 2020

Further to this, if using pods on iOS, running "yarn install" or "yarn add" breaks the pod install for realm.
You need to clear out the pod cache and reinstall to make it work again.

Also, no need to manually link when auto linking is available.

@sshanzel
Copy link

Same happens for me using RN 0.61.5

@vishgoel007
Copy link

@sgeier Did you install any specific version of Realm or latest one ?

@vishgoel007
Copy link

@sshanzel Did you able to solve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants