Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install realm broken? keeps hanging up at reify:realm: timing... (see screenshot) #5547

Closed
GitMurf opened this issue Mar 7, 2023 · 10 comments

Comments

@GitMurf
Copy link

GitMurf commented Mar 7, 2023

How frequently does the bug occur?

Always

Description

I am having trouble doing an npm install of current version as well as tried plenty of older versions as well. They all hang up at the screenshot below:

image

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

npm install realm

Version

Latest and 10.22

What services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

Windows 11

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

@GitMurf GitMurf added the T-Bug label Mar 7, 2023
@GitMurf GitMurf changed the title npm install down? keeps hanging up at reify:realm: iming... npm install realm down? keeps hanging up at reify:realm: iming... Mar 7, 2023
@GitMurf GitMurf changed the title npm install realm down? keeps hanging up at reify:realm: iming... npm install realm down? keeps hanging up at reify:realm: timing... (see screenshot) Mar 7, 2023
@GitMurf
Copy link
Author

GitMurf commented Mar 7, 2023

I don't know if this is it or not but when I kill the install it gives the following and appears it may be erroring out at node scripts/submit-analytics.js?

image

@GitMurf GitMurf changed the title npm install realm down? keeps hanging up at reify:realm: timing... (see screenshot) npm install realm broken? keeps hanging up at reify:realm: timing... (see screenshot) Mar 7, 2023
@kneth
Copy link
Contributor

kneth commented Mar 7, 2023

@GitMurf I am not sure if we will get any useful information but can you try to run npm install -d verbose realm?

Which version of node do you use? We have an unresolved issue with node 19.

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Mar 7, 2023
@GitMurf
Copy link
Author

GitMurf commented Mar 7, 2023

@GitMurf I am not sure if we will get any useful information but can you try to run npm install -d verbose realm?

Which version of node do you use? We have an unresolved issue with node 19.

I am indeed using the "Current Version" v19.7 of node along with current version of NPM v9.6. Are there any solutions at this point other than downgrading to v18.xx?

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Mar 7, 2023
@GitMurf
Copy link
Author

GitMurf commented Mar 7, 2023

@GitMurf I am not sure if we will get any useful information but can you try to run npm install -d verbose realm?

Here is the end of the verbose results. Again the only thing I can get out of it is that something seems to be hanging with the "submit-analytics.js" step?

image

@kneth
Copy link
Contributor

kneth commented Mar 9, 2023

I have a fix in #5554

@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Mar 9, 2023
@pachewise
Copy link

@kneth thanks for fixing this issue. Do y'all have a release planned soon for this, or will we have to build from source / use node@18 to be able to install realm?

@kneth
Copy link
Contributor

kneth commented Mar 14, 2023

The plan is to get a release out this week

@kneth
Copy link
Contributor

kneth commented Mar 17, 2023

Released in v11.5.2

@sync-by-unito sync-by-unito bot closed this as completed Mar 17, 2023
@2sem
Copy link

2sem commented Mar 24, 2023

I can't install 11.0.0-rc.1
my project is using react-native 0.69, so I should use 11.0.0-rc.1

스크린샷 2023-03-24 오후 8 03 41

hang on reify:realm: info run [email protected] postinstall node_modules/realm node scripts/submit-analytics.j

npm http fetch GET 200 https://registry.npmjs.org/realm/-/realm-11.0.0-rc.1.tgz 26700ms (cache miss)
npm info run [email protected] install node_modules/realm prebuild-install --tag-prefix= -r napi || cmake-js build
npm info run [email protected] install { code: 0, signal: null }
npm info run [email protected] postinstall node_modules/realm node scripts/submit-analytics.js
(##################) ⠼ reify:realm: info run [email protected] postinstall node_modules/realm node scripts/submit-analytics.j

@kneth
Copy link
Contributor

kneth commented Mar 24, 2023

If you are using node 19, please upgrade to Realm JS v11.5.2 or downgrade to node 18.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants