Playground Metro fails to start: exclusionList is not a function
@CedricGuillemet is already working on this.
Since Dec 2, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, react-native
- Domain
- build-system
Research direction
Start in Apps/Playground's Metro configuration and trace how it loads @rnx-kit/metro-config 2.1.0 with metro-config 0.83.7. Reproduce with react-native start and inspect the exclusionList export and the reported workaround using @react-native/metro-config. Done when the Playground Metro server starts without the TypeError and its symlinked imports resolve to the app's dependencies.
Written by the indexing model from the issue text.
Description
Environment: @babylonjs/react-native 2.0.7 (Babylon Native f4d9efb), React Native 0.81.6 (legacy architecture), Hermes, Xcode 27.1, iOS 27.0 Simulator (iPhone 17), macOS 27.0.1.
Apps/Playground locks @rnx-kit/metro-config 2.1.0 with metro-config 0.83.7. In 0.83.7,
src/defaults/exclusionList is an ES-module default export (exports.default). rnx-kit requires it and calls the
module object, so react-native start exits with TypeError: exclusionList is not a function.
Workaround: use @react-native/metro-config directly, and resolve bare imports that originate from the symlinked
module against the app's node_modules (keeps a single copy of react / react-native / @babylonjs/core).
- Dominant language
- C++
- Stars
- 437
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BabylonJS/BabylonReactNative
-
Docs: New Architecture is not supported; GUI text needs a fontPossibly taken @CedricGuillemet claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
BabylonJS/BabylonReactNative#777 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
BabylonJS/BabylonReactNative#776 ·
-
JS thread deadlocks in NativeEngine::SubmitCommands when an engine is disposed and a new one created quicklyPossibly taken @CedricGuillemet claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 47/100
BabylonJS/BabylonReactNative#773 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
BabylonJS/BabylonReactNative#774 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
BabylonJS/BabylonReactNative#667 ·
All issues in BabylonJS/BabylonReactNative
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gofractally/psibase#2379 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-format
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7719 · 1 comment ·
Maintainers usually reply within 4 days