react-laravel-paginex icon indicating copy to clipboard operation
react-laravel-paginex copied to clipboard

Not working with react 18.2.0

Open aliashrafi051 opened this issue 1 year ago • 1 comments

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.

aliashrafi051 avatar Aug 04 '23 08:08 aliashrafi051

I know it's been a while, but did you try running npm i --legacy-peer-deps?

Jerald-tonmoy-dias avatar Aug 13 '24 11:08 Jerald-tonmoy-dias