react-native-webview-leaflet icon indicating copy to clipboard operation
react-native-webview-leaflet copied to clipboard

Installation Error: Could not resolve dependency

Open BasselTurky opened this issue 3 years ago • 2 comments
trafficstars

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: [email protected] npm ERR! Found: [email protected] 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 [email protected] 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

BasselTurky avatar Feb 04 '22 11:02 BasselTurky

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

bricejoosten avatar Feb 04 '22 18:02 bricejoosten

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

miallo avatar Feb 06 '22 06:02 miallo