clauderic / react-sortable-hoc

A set of higher-order components to turn any list into an animated, accessible and touch-friendly sortable list✌️
https://clauderic.github.io/react-sortable-hoc/
MIT License
10.77k stars 978 forks source link

not working on "react": "^18.2.0", #856

Open EssDevUi opened 1 year ago

EssDevUi commented 1 year ago

npm install react-sortable-hoc --save npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: leadforms@0.1.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.3.0 || ^17.0.0" from react-sortable-hoc@2.0.0 npm ERR! node_modules/react-sortable-hoc npm ERR! react-sortable-hoc@"*" 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! npm ERR! See C:\Users\sqmdev3\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\sqmdev3\AppData\Local\npm-cache_logs\2022-09-19T09_42_27_391Z-debug-0.log

I'm using "react": "^18.2.0",

your plugin doesn't support it

tinaxgao commented 1 year ago

you can force install it with: npm install react-sortable-hoc --force

darronz commented 1 year ago

See https://github.com/clauderic/react-sortable-hoc/issues/838