rnmapbox / rnmapbox/maps

[Bug]: Expo SDK 54 plugins error Cannot find module

Open
#4,147 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🪲
Dominant language
Kotlin
Stars
2.9k
Forks
947
Avg merge
6d 37m
Merged PRs (30d)
1

Description

Mapbox Implementation

Mapbox

Mapbox Version

default

React Native Version

0.81.5

React Native Architecture

New Architecture (Fabric/TurboModules)

Platform

Android, iOS

@rnmapbox/maps version

@rnmapbox/maps: ^10.2.10

Standalone component to reproduce
import Mapbox from '@rnmapbox/maps';
Observed behavior and steps to reproduce

Cannot find module 'c:\Users\Alpha\Documents\Devs\visited\sdk54\node_modules@rnmapbox\maps\lib\module\Mapbox' imported from c:\Users\Alpha\Documents\Devs\visited\sdk54\node_modules@rnmapbox\maps\lib\module\index.js

Expected behavior

No response

Notes / preliminary analysis

No response

Additional links and references

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the standalone import in the Expo SDK 54 reproduction and inspect node_modules/@rnmapbox/maps/lib/module/index.js, where the missing Mapbox module is referenced. Reproduce the import on Android and iOS with React Native 0.81.5 and @rnmapbox/maps 10.2.10; done means the package imports without the Cannot find module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.