walterholohan / react-native-crisp-chat-sdk

React-Native bridge for Crisp Chat iOS and Android SDK's
MIT License
71 stars 26 forks source link

Can't install for wrong react version #123

Closed baumatch-dev closed 5 months ago

baumatch-dev commented 5 months ago

Hi, I'm trying to install crips chat into my expo go react app following your guide, but I can't install it because of the version of react needed. The last react version available is 18.2.0, but I've this error when installing:


Could not resolve dependency:
npm ERR! peer react@"^18.3.1" from react-dom@18.3.1
npm ERR! node_modules/react-dom
npm ERR!   peer react-dom@"^18.2.0" from react-native-crisp-chat-sdk@0.14.0
npm ERR!   node_modules/react-native-crisp-chat-sdk
npm ERR!     react-native-crisp-chat-sdk@"*" from the root project

Is there anything I can do to fix it? Thanks

baumatch-dev commented 5 months ago

My bad, was missing react-dom dependencies. Anyway, is react-dom really necessary in a react native package?