Playground Metro fails to start: exclusionList is not a function

Abierto
#775 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@CedricGuillemet ya está trabajando en esto.

Desde el 2/12/2026.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
58/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, react-native
Área
build-system

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).

Lenguaje dominante
C++
Estrellas
437
Forks
72
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BabylonJS/BabylonReactNative

Todos los issues de BabylonJS/BabylonReactNative

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.