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

package not working with React 18 #1034

Open
Abdelaziz-Elshrkawy opened this issue Jul 21, 2024 · 0 comments
Open

package not working with React 18 #1034

Abdelaziz-Elshrkawy opened this issue Jul 21, 2024 · 0 comments

Comments

@Abdelaziz-Elshrkawy
Copy link

i tried to install the package with react 18.3.3 and i got error like this

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: react@undefined
npm error node_modules/react
npm error react@"^18.3.3" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^16.11.0" from [email protected]
npm error node_modules/react-mapbox-gl
npm error react-mapbox-gl@"^5.1.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\abdelaziz.ibrahim\scoop\persist\nodejs\cache_logs\2024-07-21T08_52_54_255Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\abdelaziz.ibrahim\scoop\persist\nodejs\cache_logs\2024-07-21T08_52_54_255Z-debug-0.log

i have to install react 16.11.0 to make it work but i need to work with react 18

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

1 participant