realm-js: Realm module not found

How frequently does the bug occur?

All the time

Description

When I create a new NPM Package and install realm with npm install realm and will require realm in the script const Realm = require("realm"); I’m always getting an error where the module realm.node could not be found, is this a known issue?

This error occurs on all realm version except: realm@11.0.0-rc.1, I absolutely don’t know why

Stacktrace & log output

No response

Can you reproduce the bug?

Yes, always

Reproduction Steps

No response

Version

all? except 11.0.0-rc.1

What SDK flavour are you using?

Local Database only

Are you using encryption?

No, not using encryption

Platform OS and version(s)

Windows

Build environment

Which debugger for React Native: …

Cocoapods version

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (7 by maintainers)

Most upvoted comments

We have merged a fix for the Windows issue (https://github.com/realm/realm-js/pull/4954), and we will release it soon.