Yoctol / react-messenger-customer-chat

React component for messenger customer chat plugin
MIT License
272 stars 69 forks source link

It's not installing in react version 18.2.0 #131

Open sadikhossain69 opened 1 year ago

sadikhossain69 commented 1 year ago

I'm currently working on react latest version project and this package isn't installing on react latest version.

furyozo commented 1 year ago

@chentsulin +1, could you please add support for react versions 17 and 18?

juvielone commented 1 year ago

Try using this npm i --force react-messenger-customer-chat

sadikhossain69 commented 1 year ago

@juvielone I tried but it's not installing in production.

sameep-dhakal commented 1 year ago

Will it work on later version or is depreciated for higher versions of react? . I tried force install it is working for now but is it a good idea to do so?

sadikhossain69 commented 1 year ago

@sameep-dhakal It will work on locally smoothly but maximum time in production it will unable to install. You have to containerize your app with Docker and make a custom script for --force installation. On the other way you can run the npm install [package-name] --legacy-peer-deps. It will ignore all peerDependencies when installing.