callstack / callstack/super-app-example

ReferenceError: Property 'HMRClient' doesn't exist

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
40
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I have done setup on my windows system and setup Repack on both host-app and mini-app by following all steps after running on emulator getting following error:

ReferenceError: Property 'HMRClient' doesn't exist
at ./node_modules/@callstack/repack/dist/modules/WebpackHMRClient.js (http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.hostapp&modulesOnly=false&runModule=true:1142:7)
at call (native)
at anonymous (http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.hostapp&modulesOnly=false&runModule=true:42524:35)
at call (native)
at __webpack_require__ (http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.hostapp&modulesOnly=false&runModule=true:41942:37)
at anonymous (http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.hostapp&modulesOnly=false&runModule=true:43429:30)
at global (http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.hostapp&modulesOnly=false&runModule=true:43433:12)
...
![error_emulator](https://github.com/callstack/super-app-example/assets/25630871/85e5bea6-dd9b-482c-a66c-aaaa045b2757)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện thiết lập Windows cho Re.Pack trong host-app và mini-app, sau đó kiểm tra node_modules/@callstack/repack/dist/modules/WebpackHMRClient.js tại tham chiếu HMRClient đang gây lỗi. Sử dụng trình giả lập Android và URL bundle được báo cáo khi kiểm tra các bước thiết lập; hoàn tất nghĩa là ứng dụng khởi động mà không có ReferenceError.

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

Đánh giá

Công nghệ
android, react-native, webpack
Lĩnh vực
build-system, mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.