realm/realm-js

node 19 hangs when installing Realm

kneth opened this issue · 19 comments

kneth commented

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

kneth commented

I am not able to reproduce it with the following (MacOS 12.6.1 - Apple Silicon):

  • node 19.1.0, npm 8.19.3
  • node 19.1.0, npm 9.1.2
  • node 19.1.0, yarn 1.22.19

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.

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.

kneth commented

I will reopen the issue and allocate some time to investigate