realm-js
realm-js copied to clipboard
NFR: Create own NPM package for react-native
Hey!
Goals
For now, realm-js ships with module for node and react-native
It's rly awfull, because it's not possible to install react-native package without it
1. Unable to install with latest node
Let's take an example, I am using node 10+ and react-native, I am not able to install latest package for rn only because I will get a lof of errors because node module didnt support latest node.
2. Take time to compile/recompile
Expected Results
Have 2 packages
realm-js realm-react-native
Thanks
I understand your pain on this. We have one package only as it simplifies many things. The downside is that we force you to use a version of node that we support.
As a workaround, have you tried to install Realm using npm install --ignore-scripts?
As a workaround, have you tried to install Realm using npm install --ignore-scripts
This helps, but this will ingore all scripts :D It's not a solution :(
The short term workaround is to use a supported node version when working with your RN app. Mid term, we will support node 10.
Node 10 is now supported. Closing.
@bmunkholm This issue is not about NPM, why did you close it?
It's architecture issue as NFR
@ovr Ah sorry - I was too fast there.