react-sortable-tree
react-sortable-tree copied to clipboard
Could not resolve dependency: React 18 with [email protected]
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!
could you find any solution ?! same problem i wanna use it in react 18 and i can
npm i --legacy-peer-deps react-sortable-tree
or
npm i --force react-sortable-tree
Can't I do this?