realm-js: node 19 hangs when installing Realm

How frequently does the bug occur?

Sometimes

Description

Using node 19, npm install realm seems to hang.

Stacktrace & log output

No response

Can you reproduce the bug?

Not yet

Reproduction Steps

nvm use 19
mkdir foobar
cd foobar
npm init -y
npm install realm

Version

11.2.0

What SDK flavour are you using?

Local Database only

Are you using encryption?

No, not using encryption

Platform OS and version(s)

MacOS, Linux

Build environment

No response

Cocoapods version

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

this issue was with macOS Monterey 12.4 and latest node version while install in react-native. after downgrade to node v18.2.0 I installed it successfully.

Yep, same here. I couldn’t npm install realm on node 19.2, downgrading to 18.2 worked. Thanks.

this issue was with macOS Monterey 12.4 and latest node version while install in react-native. after downgrade to node v18.2.0 I installed it successfully.