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

Does not work with react-native version 0.74.5 #426

Closed
nat-gaurav-saini opened this issue Oct 16, 2024 · 4 comments
Closed

Does not work with react-native version 0.74.5 #426

nat-gaurav-saini opened this issue Oct 16, 2024 · 4 comments

Comments

@nat-gaurav-saini
Copy link

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react-native
npm error react-native@"0.74.5" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react-native@"^0.71.0" from [email protected]
npm error node_modules/clevertap-react-native
npm error clevertap-react-native@"3.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/gaurav/.npm/_logs/2024-10-16T08_14_09_442Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/gaurav/.npm/_logs/2024-10-16T08_14_09_442Z-debug-0.log

@kushCT
Copy link
Contributor

kushCT commented Oct 16, 2024

@nat-gaurav-saini
Have you tried npm install [email protected] --legacy-peer-deps?
Since [email protected] will work with [email protected], you can try overriding the peer dependency warning by using the --legacy-peer-deps flag.

@nat-gaurav-saini
Copy link
Author

This works for adding dependency but fails when doing a eas build because we cannot overwrite their build step.

PS: I know expo is not supported but I am trying to develop plugins with the help of our CT CSM.

@kushCT
Copy link
Contributor

kushCT commented Oct 21, 2024

@nat-gaurav-saini Noted the issue
We will resolve this with the upcoming release

@piyush-kukadiya
Copy link
Contributor

Fixed in release 3.1.0

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

No branches or pull requests

3 participants