Failed to resolve dependency 'react-native-maps@0.29.4'
See original GitHub issueSummary
Snack is unable to resolve react-native-maps@0.29.4
What platform(s) does this occur on?
Android, iOS, Web
SDK Version
41, 42, 43, 44
Reproducible demo or steps to reproduce from a blank project
Go to https://snack.expo.dev
Add the following import to the default snack:
import MapView from 'react-native-maps';
Click on the Add Dependency button.
It takes quite a while to try to resolve the package. Then it fails with the following error:
package.json (3:5)Failed to resolve dependency 'react-native-maps@0.29.4' (Module not found: Error: Package path ./unstable-native-dependencies is not exported from package /tmp/snackager/snackager/buildStatus/1/react-native-maps@0.29.4-ios,android,web/package/node_modules/react-dom (see exports field in /tmp/snackager/snackager/buildStatus/1/react-native-maps@0.29.4-ios,android,web/package/node_modules/react-dom/package.json)
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to resolve a dependency in react native maps?
There I am using react-native-maps. When bundle is building it laves this error on the console. Unable to resolve "./lib/components/MapHeatmap.
Read more >react-native-maps - npm
This MapView component is built so that features on the map (such as Markers, Polygons, etc.) are specified as children of the MapView...
Read more >[RESOLVED] Unable to resolve module
Hi All. I was looking for a "get location and display on map" component and ... I am brand new to React Native...
Read more >react-native-maps | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >react-native-maps - Expo Snack
import React, { Component } from 'react'; ... import Modal from 'react-native-modal'; ... Unable to resolve module 'react-native-maps.js' Evaluating ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done and deployed.
@elzen20 what problem are you seeing?
If I create a new Snack, I can add
react-native-maps
as a dependency without errors now.