callstack / repack-examples

Repository with examples for Re.Pack
50 stars 18 forks source link

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

Open 0xssw opened 1 year ago

0xssw commented 1 year ago

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
ngocht143 commented 10 months ago

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

ngocht143 commented 10 months ago

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

0xssw commented 10 months ago

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

ngocht143 commented 10 months ago

@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