Closed thanosoncode closed 6 months ago
Is there a way to add react-mapbox-gl in a react:18.2.0 project? I get a peer dependency error when trying adding it.
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! Found: mapbox-gl@3.2.0 npm ERR! node_modules/mapbox-gl npm ERR! mapbox-gl@"^3.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer mapbox-gl@"^1.12.0" from react-mapbox-gl@5.1.1 npm ERR! node_modules/react-mapbox-gl npm ERR! react-mapbox-gl@"*" from the root project
Ran into the same issue. Looking at it this package hasn't been contributed to in 4 years. I don't think it's maintained any longer. Probably time to migrate away
indeed lets move on
Is there a way to add react-mapbox-gl in a react:18.2.0 project? I get a peer dependency error when trying adding it.