react-laravel-paginex
react-laravel-paginex copied to clipboard
Not working with react 18.2.0
when installing from npm, it throw this error:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: undefined@undefined npm ERR! Found: [email protected] 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.8.6" from [email protected] npm ERR! node_modules/react-laravel-paginex npm ERR! react-laravel-paginex@"*" 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 know it's been a while, but did you try running npm i --legacy-peer-deps?