Playground Metro fails to start: exclusionList is not a function
@CedricGuillemet đang làm issue này rồi.
Từ ngày 2/12/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react-native
- Lĩnh vực
- build-system
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- C++
- Star
- 437
- Fork
- 72
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BabylonJS/BabylonReactNative
-
Docs: New Architecture is not supported; GUI text needs a fontCó thể đã có người làm @CedricGuillemet đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BabylonJS/BabylonReactNative#777 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 54/100
BabylonJS/BabylonReactNative#776 ·
-
JS thread deadlocks in NativeEngine::SubmitCommands when an engine is disposed and a new one created quicklyCó thể đã có người làm @CedricGuillemet đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
BabylonJS/BabylonReactNative#773 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
BabylonJS/BabylonReactNative#774 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
BabylonJS/BabylonReactNative#667 ·
Tất cả issue của BabylonJS/BabylonReactNative
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gofractally/psibase#2379 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
simnJS/AnyPS5#735 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-format
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7719 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày