react-sortable-tree icon indicating copy to clipboard operation
react-sortable-tree copied to clipboard

Could not resolve dependency: React 18 with [email protected]

Open govindsoni93 opened this issue 2 years ago • 2 comments

npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0" from [email protected] npm ERR! node_modules/react-sortable-tree npm ERR! react-sortable-tree@"*" 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. npm ERR!

govindsoni93 avatar Jan 17 '24 04:01 govindsoni93

could you find any solution ?! same problem i wanna use it in react 18 and i can

matin-mortazavi avatar Mar 04 '24 08:03 matin-mortazavi

npm i --legacy-peer-deps react-sortable-tree

or

npm i --force react-sortable-tree

Can't I do this?

gaeundev avatar Jun 04 '24 05:06 gaeundev