Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

React Native 0.88.x support

Đang mở
#1,474 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đá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
48/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ệ
react-native
Lĩnh vực
build-system, mobile

Hướng nghiên cứu

Reproduce the failure with the provided React Native bundle command on 0.88.0-rc.3, then inspect babelLoader/utils.js and babelLoader/babelLoader.js around the Hermes parser resolution shown in the stack trace. Done means the build completes without the missing babel-plugin-syntax-hermes-parser error for React Native 0.88.x.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

status:new type:bug
Describe the bug

Build command fails on 0.88.0-rc.3 version of React Native

npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios/assets --reset-cache
Error: Cannot find module 'babel-plugin-syntax-hermes-parser'
Require stack:
- /home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/utils.js
- /home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/babelLoader.js
- /home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelSwcLoader/babelSwcLoader.js
- /home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelSwcLoader/index.js
- /home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@rspack/core/dist/worker.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
    at require.resolve (node:internal/modules/helpers:175:31)
    at resolveHermesParser (/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/utils.js:21:53)
    at loadHermesParser (/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/utils.js:31:58)
    at transform (/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/babelLoader.js:50:58)
    at Object.babelSwcLoader (/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelSwcLoader/babelSwcLoader.js:123:58) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/utils.js',
    '/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelLoader/babelLoader.js',
    '/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelSwcLoader/babelSwcLoader.js',
    '/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@callstack/repack/dist/loaders/babelSwcLoader/index.js',
    '/home/runner/work/xd/xd/tmp/repack/RN88/node_modules/@rspack/core/dist/worker.js'
  ]
}
System Info
...
Re.Pack Version

5.4.0

Reproduction

...

Steps to reproduce
  1. init Re.Pack in 0.88.0-rc.3
  2. Run build
Ngôn ngữ chính
TypeScript
Star
1.9k
Fork
167
Merge trung bình
4 ngày 28 phút
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstack/repack

Tất cả issue của callstack/repack

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.