Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with react 18.2.0 #21

Open
aliashrafi051 opened this issue Aug 4, 2023 · 1 comment
Open

Not working with react 18.2.0 #21

aliashrafi051 opened this issue Aug 4, 2023 · 1 comment

Comments

@aliashrafi051
Copy link

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.

@Jerald-tonmoy-dias
Copy link

Jerald-tonmoy-dias commented Aug 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants