repack-examples icon indicating copy to clipboard operation
repack-examples copied to clipboard

When running 【module-federation】, I am getting an error and need help.

Open 0xssw opened this issue 2 years ago • 4 comments

Ask your Question

When I start the host, it prompts me that there is no (app1/app2).container.bundle. How should I generate these two files using which command? image

0xssw avatar Jul 27 '23 08:07 0xssw

@jbinda @jbroma I got the same issue, could you note more detail command steps in Readme?

ngocht143 avatar Nov 07 '23 02:11 ngocht143

After generate a bundle and run yarn workspace host run android I got this error Screenshot at Nov 07 10-12-15

Effort 1: i did adb reverse tcp:9000 tcp:9000, it still get error Effort 2: i tried to replace localhost to local IP, it still get error

ngocht143 avatar Nov 07 '23 03:11 ngocht143

After generate a bundle and run yarn workspace host run android I got this error Screenshot at Nov 07 10-12-15

Effort 1: i did adb reverse tcp:9000 tcp:9000, it still get error Effort 2: i tried to replace localhost to local IP, it still get error

You need to start a server to access this resource, for example, using Koa or Express. @ngocht143

0xssw avatar Nov 07 '23 04:11 0xssw

@Liuminke1996 I'm following this instruction https://github.com/callstack/super-app-example/issues/1#issuecomment-1549493127 but it always got Failed to load script Screenshot at Nov 07 11-48-22 Screenshot at Nov 07 11-55-03

ngocht143 avatar Nov 07 '23 04:11 ngocht143