qonversion / react-native-sdk

React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install in RN 0.65 with React 17.0.2

cristianrosu opened this issue · comments

Installing this in a new react native project throws this error.

Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"^17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.1" from react-native-qonversion@3.1.1
npm ERR! node_modules/react-native-qonversion
npm ERR!   react-native-qonversion@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Hi, @cristianrosu ✌️
Could you show your package.json file, please?
If you don't want to publish it, you can text me at: s.sarkisyan@qonversion.io

maybe need to update react version in react-native-qonversion from 16.8.1 to latest
or
use npm i react-native-qonversion --force

Hi again @cristianrosu
Were you able to get rid of the error?

Hello @cristianrosu ! We still didn’t get any reply from you regarding the issue above. We’ll close this issue for the time being.

Feel free to contact us if you have any further questions or if the issue persists. We’ll be glad to assist!