Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Installation Error: Could not resolve dependency #145

Open
BasselTurky opened this issue Feb 4, 2022 · 2 comments
Open

Installation Error: Could not resolve dependency #145

BasselTurky opened this issue Feb 4, 2022 · 2 comments

Comments

@BasselTurky
Copy link

PS C:\React Native Workspace\RN-tut\reviews-app> npm install --save react-native-webview-leaflet
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: reviews-app@1.0.0
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR! react@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.9.0" from react-native-webview-leaflet@5.0.2
npm ERR! node_modules/react-native-webview-leaflet
npm ERR! react-native-webview-leaflet@"*" 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\101\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\101\AppData\Local\npm-cache_logs\2022-02-04T11_41_33_802Z-debug.log

@bricejoosten
Copy link

Got the same problem unfortunately.
I definitely don't know about the problem.
Is Leaflet in React Native still working ?

@miallo
Copy link

miallo commented Feb 6, 2022

This project is no longer maintained. There is this fork which has this error fixed

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

No branches or pull requests

3 participants