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

libary instalation issue #6750

Closed
saifalitai opened this issue Jun 24, 2024 · 6 comments
Closed

libary instalation issue #6750

saifalitai opened this issue Jun 24, 2024 · 6 comments

Comments

@saifalitai
Copy link

How frequently does the bug occur?

Always

Description

Description
library is unable to install continue. showing install process

package.json
"react-native": "0.66.5",
"realm": "11.0.0-rc.0",
"@realm/react": "0.3.0",
Screenshot 2024-06-24 at 11 34 44 AM

Stacktrace & log output

warning "enzyme-adapter-react-16 > [email protected]" has incorrect peer dependency "[email protected] || 0.14.x || ^15.0.0-0 || ^16.0.0-0".
warning "enzyme-adapter-react-16 > [email protected]" has incorrect peer dependency "react@^16.14.0".
warning "enzyme-adapter-react-16 > enzyme-adapter-utils > [email protected]" has incorrect peer dependency "react@^0.14 || ^15.0.0 || ^16.0.0-alpha".
warning " > [email protected]" has incorrect peer dependency "eslint@^5.16.0 || ^6.1.0".
warning " > [email protected]" has unmet peer dependency "eslint-plugin-react-hooks@^1.7.0".
warning "eslint-config-airbnb > [email protected]" has incorrect peer dependency "eslint-plugin-import@^2.22.1".
warning " > [email protected]" has incorrect peer dependency "[email protected] - 6.x".
warning " > [email protected]" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning " > [email protected]" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning " > [email protected]" has unmet peer dependency "prop-types@>=15.7.2".
warning " > [email protected]" has incorrect peer dependency "jest@>=25 <26".
warning " > [email protected]" has incorrect peer dependency "typescript@>=3.4 <4.0".
[4/4] 🔨  Building fresh packages...
[-/2] ⠈ waiting...
[2/2] ⠈ realm

Can you reproduce the bug?

Always

Reproduction Steps

add package.json above mention library version and install node modules

Version

11.0.0-rc.0

What services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

android and ios

Build environment

Which debugger for React Native: ..

Cocoapods version

cocoapods-1.15.2

Copy link

sync-by-unito bot commented Jun 24, 2024

➤ PM Bot commented:

Jira ticket: RJS-2844

@kraenhansen
Copy link
Member

kraenhansen commented Jun 24, 2024

Can you share some details on the bandwidth of your network connection? Do you experience this with the latest version of our package as well? Or is it specifically 11.0.0-rc.0?

@saifalitai
Copy link
Author

saifalitai commented Jun 24, 2024

Internet speed below screenshot and latest version installed successfully but my react native not supported.
according to this document I have installed library
see the document link : https://github.com/realm/realm-js/blob/main/COMPATIBILITY.md

Screenshot 2024-06-24 at 12 43 13 PM

can you guide me which version support to my react native version
cc @kraenhansen

@kraenhansen
Copy link
Member

kraenhansen commented Jun 24, 2024

Am I correct in my understanding that you're using React Native < 0.69.0?

If that's the case, we unfortunately cannot justify supporting a release candidate version of our library compatible with a React Native version that has dropped out of support long time ago (as such - I'll close the issue). Good news is that since v12.11.0 our prebuild binaries no longer have a tight coupling to the JSI ABI. We haven't tested the v12.11.0 release with React Native 0.69.0, but there's a chance that it actually might "just work" ™️. If you're feeling adventurous, please consider taking it for a spin in your app - if it builds, you should be good 👍

@kraenhansen kraenhansen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2024
@saifalitai
Copy link
Author

i am using react native 0.66.5 I will try and let you

@saifalitai
Copy link
Author

@kraenhansen after libary install facing below issue
"@realm/react": "^0.8.0",
"realm": "^12.11.0",

FAILURE: Build failed with an exception.

  • Where:
    Build file 'react-native/src/node_modules/realm/binding/android/build.gradle'

  • What went wrong:
    Could not compile build file '/Users/saif/Documents/Builder/dhpapp-285028-react-native/src/node_modules/realm/binding/android/build.gradle'.

startup failed:
General error during class generation: null. BuildScript

groovy.lang.GroovyRuntimeException: null. BuildScript

at java.base/java.lang.Thread.run(Thread.java:829)

Caused by: org.codehaus.groovy.syntax.SyntaxException: Operator ("===" at 34:30: "===" ) not supported @ line 34, column 30.
at org.codehaus.groovy.classgen.asm.BinaryExpressionHelper.eval(BinaryExpressionHelper.java:301)
... 258 more

1 error

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 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