callstack / super-app-example

This repository presents a compact super-app example from Callstack's blog, illustrating the use of a monorepo structure together with Re.Pack and Module Federation.
MIT License
27 stars 16 forks source link

ReferenceError: Property 'HMRClient' doesn't exist #5

Open kaifigirdhar opened 6 months ago

kaifigirdhar commented 6 months ago

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