Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2016

Installing realm for node (Electron) desktop app also downloads react-native folder (272mb size) - can react-native be excluded?

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: