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

Realm not installing in react-native@0.70.6 #5132

Closed
zoobibackups opened this issue Nov 23, 2022 · 8 comments
Closed

Realm not installing in react-native@0.70.6 #5132

zoobibackups opened this issue Nov 23, 2022 · 8 comments

Comments

@zoobibackups
Copy link

zoobibackups commented Nov 23, 2022

How frequently does the bug occur?

All the time

Description

I am trying to install realm in a fresh react-native project. but when I run this command yarn add realm or npm I realm it always stop on this step.

[4/4]   Building fresh packages...
[1/1] ⠄ realm

and nothing is happening. I have tried many version to install but same issue,

Stacktrace & log output

No response

Can you reproduce the bug?

Yes, always

Reproduction Steps

install new react-native app throughout cli
and try to install realm

Version

11.2.0

What SDK flavour are you using?

Atlas Device Sync

Are you using encryption?

No, not using encryption

Platform OS and version(s)

MacOS 11.12.5

Build environment

Which debugger for React Native: ..
no debugger not installing

CallerApp % yarn add realm@10.23.0

yarn add v1.22.19
[1/4] Resolving packages...
warning realm > request@2.88.2: request has been deprecated, see request/request#3142
warning realm > request > har-validator@5.1.5: this library is no longer supported
warning realm > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > lottie-react-native@5.1.4" has unmet peer dependency "lottie-ios@^3.4.0".
warning "react-native > react-native-codegen > jscodeshift@0.13.1" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native-largelist-v3@3.1.0-rc.1" has incorrect peer dependency "react@^16.3.1".
warning " > react-native-largelist-v3@3.1.0-rc.1" has incorrect peer dependency "react-native@^0.50.0".
warning " > react-native-largelist-v3@3.1.0-rc.1" has unmet peer dependency "prop-types@^15.6.0".
warning " > react-native-shimmer-placeholder@2.0.9" has unmet peer dependency "prop-types@>=15.6.0".
warning " > react-native-spring-scrollview@3.0.2" has incorrect peer dependency "react@^16.3.1".
warning " > react-native-spring-scrollview@3.0.2" has incorrect peer dependency "react-native@^0.60.0".
warning "react-native-spring-scrollview > @react-native-community/async-storage@1.12.1" has incorrect peer dependency "react@^16.8".
warning "react-native-spring-scrollview > lottie-react-native@4.1.3" has incorrect peer dependency "lottie-ios@^3.2.3".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
[1/1] ⠁ realm

Cocoapods version

11.2.5

@zoobibackups
Copy link
Author

umairhassan@Umairs-MacBook-Air CallerApp % npm i
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms

@kneth
Copy link
Contributor

kneth commented Nov 23, 2022

@zoobibackups You say you are using version 11.2.0 but I see yarn add realm@10.23.0 in the report. I do not expect that version 10.23.0 works with RN 0.70.x.

I can see that we forgot to update the compatibility matrix with information about 10.23.0.

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Nov 23, 2022
@zoobibackups
Copy link
Author

@zoobibackups You say you are using version 11.2.0 but I see yarn add realm@10.23.0 in the report. I do not expect that version 10.23.0 works with RN 0.70.x.

I can see that we forgot to update the compatibility matrix with information about 10.23.0.

I have tried many versions
**11.2.0, 10.23.0, 10.19.0, 10.20.0**
but none of them is installing. created project 2 to 3 times on MacBook Air 2019. node version 19.1.0 but every time installation is stuck on
(##################) ⠦ reify:realm: timing reifyNode:node_modules/web-streams-polyfill Completed in 2766ms

@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 Nov 23, 2022
@zoobibackups
Copy link
Author

zoobibackups commented Nov 23, 2022

I also create a new project with react-native@0.70.0 and still having same issue

(##################) ⠦ reify:realm: http fetch GET 200 https://registry.npmjs.org/realm/-/realm-11.0.0.tgz 25954ms (cache miss)

@kneth
Copy link
Contributor

kneth commented Nov 23, 2022

node version 19.1.0 but every time installation is stuck on

Please try to downgrade to node 18. We have seen some sporadic issues with node 19.

@zoobibackups
Copy link
Author

let me cehck

node version 19.1.0 but every time installation is stuck on

Please try to downgrade to node 18. We have seen some sporadic issues with node 19.

let me check this

@zoobibackups
Copy link
Author

node version 19.1.0 but every time installation is stuck on

Please try to downgrade to node 18. We have seen some sporadic issues with node 19.

thank man. this worked for me. u save another day from wasting

@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Nov 23, 2022
@kneth
Copy link
Contributor

kneth commented Nov 23, 2022

I have create #5136 so we remember to investigate it

@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