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

'yarn add realm' command throws error #5363

Closed
dimitris4 opened this issue Feb 1, 2023 · 3 comments
Closed

'yarn add realm' command throws error #5363

dimitris4 opened this issue Feb 1, 2023 · 3 comments

Comments

@dimitris4
Copy link

dimitris4 commented Feb 1, 2023

How frequently does the bug occur?

Always

Description

"react": "18.2.0",
"react-native": "0.71.1",

I'm trying to install realm in a RN project with yarn v. 1.22.18.

Stacktrace & log output

warning realm > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

[2/4]   Fetching packages...

error An unexpected error occurred: "https://registry.yarnpkg.com/realm/-/realm-11.4.0.tgz: incorrect data check".

info If you think this is a bug, please open a bug report with the information provided in ...

info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

11.4.0

What services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

Mac monterey 12.6

Build environment

Which debugger for React Native: ..

Cocoapods version

1.11.3

@kneth
Copy link
Contributor

kneth commented Feb 2, 2023

@dimitris4 Are you using node 19? If so, your issue might be the same as #5136, and you can try to download to node 18.

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

I was using 18 yes, then I used 16.13.0 and it worked. So I think we can close it.

@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 Feb 2, 2023
@kneth
Copy link
Contributor

kneth commented Feb 3, 2023

Thanks for the update

@kneth kneth closed this as completed Feb 3, 2023
@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Feb 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
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

2 participants