zamotany / module-federation-repack

38 stars 12 forks source link

ChunkManager.loadChunk invocation failed #5

Closed LauColombini closed 2 years ago

LauColombini commented 2 years ago

I follow the steps, everything is fine, but at that point I already want to open the host app on my device. throws this error in the shell

ChunkManager.loadChunk invocation failed: Failed to connect to localhost/127.0.0.1:9000 [NetworkFailure] {"absolute": false, "body": undefined, "fetch": true, "headers": undefined, "method": "GET", "query": "platform=android", "timeout": 30000, "url": "http://localhost:9000/app1.container.bundle"}

Thank you very much for the repository, it is being very helpful, we want to implement it in Chiper App...

TMaszko commented 2 years ago

Hi, Please try this command adb reverse tcp:9000 tcp:9000 and restart the app :)

LauColombini commented 2 years ago

Perfect !!

LauColombini commented 2 years ago

love you guys