react-messenger-customer-chat icon indicating copy to clipboard operation
react-messenger-customer-chat copied to clipboard

Update to React 17 Dependency

Open awitherow opened this issue 3 years ago • 4 comments

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
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@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0" from [email protected]
npm ERR! node_modules/react-messenger-customer-chat
npm ERR!   react-messenger-customer-chat@"*" 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.

i am doing with legacy peer deps right now but don't want sketch legacy stuff in my prod app.

awitherow avatar Oct 06 '21 16:10 awitherow

Yessir! same here. @chentsulin are you going to update to react 17^?

belkocik avatar Dec 01 '21 19:12 belkocik

Looks like it works with no problem for now when npm installed with --force

koutsosg avatar Dec 19 '21 23:12 koutsosg

Looks like it works with no problem for now when npm installed with --force

I am facing the react 17 dependency issue, tried --force but node does not detect the module package.

I am using node v16 , react v17 for my current project. Kindly help me with this issue.

bilal1031 avatar Jan 12 '22 23:01 bilal1031

looks like it works with the latest react, can we update the peer-dependency in package.json? I'm tired of using the --legacy-peer-dep every time I install packages...

tokomeno avatar Nov 06 '22 21:11 tokomeno