question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to resolve dependency 'react-native-maps@0.29.4'

See original GitHub issue

Summary

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:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
byCedriccommented, May 5, 2022

Done and deployed.

0reactions
wodincommented, Jun 9, 2022

@elzen20 what problem are you seeing?

If I create a new Snack, I can add react-native-maps as a dependency without errors now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found