callstack / callstack/super-app-example

ReferenceError: Property 'HMRClient' doesn't exist

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
40
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

host-app と mini-app で Re.Pack の Windows セットアップを再現し、その後、失敗している HMRClient 参照箇所を node_modules/@callstack/repack/dist/modules/WebpackHMRClient.js で調査します。セットアップ手順を確認する際は Android エミュレーターと報告された bundle URL を使用します。完了の条件は、アプリが ReferenceError なしで起動することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, react-native, webpack
領域
build-system, mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。