-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: Q3-24FY
-
Component/s: Electron
How frequently does the bug occur?
All the time
Description
I am using Realm for a Nodejs app (Electron). I do not need react-native but when I install realm with npm install realm it also downloads the react-native folder (here) which takes up 272mb on disk for Realm. If I was able to exclude this it would reduce the package size tremendously for my app which makes a huge difference for my app for my users.
Is this intentional? Is it required? Is there any way to use Realm just for a Node/Electron app that does not require react-native as we are just building a desktop app that will not be used on ios / android.
Stacktrace & log output
No response
Can you reproduce the bug?
Yes, always
Reproduction Steps
Install realm for Electron (or just plain Node app) project with npm install realm. You will have the react-native folder downloaded automatically even if you do not need react-native.
Version
11.3.0
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
Windows 11
Build environment
Which debugger for React Native: ..
Cocoapods version
No response