Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index.js not running when using ModuleFederationPluginV2 #794

Closed
ra1nj opened this issue Nov 15, 2024 · 7 comments · Fixed by #829
Closed

index.js not running when using ModuleFederationPluginV2 #794

ra1nj opened this issue Nov 15, 2024 · 7 comments · Fixed by #829
Labels
status:confirmed The issue has been reviewed and all necessary information is provided. type:bug A bug report.

Comments

@ra1nj
Copy link
Contributor

ra1nj commented Nov 15, 2024

Describe the bug

I am trying out the Repack5.0 with the ModuleFederationPluginV2, after i started the dev server, the build was fine, no errors output, but the app is stuck on the splashscreen, index.js was not running at all.
Any clues about that?

System Info

none

Re.Pack Version

5.0.0-rc.1

Reproduction

none

Steps to reproduce

none

@ra1nj ra1nj added status:new New issue, not reviewed by the team yet. type:bug A bug report. labels Nov 15, 2024
@jbroma
Copy link
Member

jbroma commented Nov 15, 2024

is this on iOS? if its iOS its probably because somehow on bridgeless the errors are not being displayed at startup and we're aware of that.

@ra1nj
Copy link
Contributor Author

ra1nj commented Nov 15, 2024

is this on iOS? if its iOS its probably because somehow on bridgeless the errors are not being displayed at startup and we're aware of that.

Yes it is, I am using iOS, I will try with android then 🤔

@jbroma
Copy link
Member

jbroma commented Nov 19, 2024

can you try RN 0.76.2? There were some fixes to show EarlyJS errors there that might help with this

@ra1nj
Copy link
Contributor Author

ra1nj commented Nov 19, 2024

can you try RN 0.76.2? There were some fixes to show EarlyJS errors there that might help with this

I managed to use android to running the project and i can see the errors , after i fixed those errors, the iOS is good now, i will try to upgrade the RN to 0.76.2 and revert my fix to see if it can output errors on iOS 🧐.

@ra1nj
Copy link
Contributor Author

ra1nj commented Nov 19, 2024

I upgraded the RN version to 0.76.2 but sadly it's the same with 0.76.1, nothing displayed on iOS, but it shows EarlyJsError on android.

Image

@jbroma jbroma added status:confirmed The issue has been reviewed and all necessary information is provided. and removed status:new New issue, not reviewed by the team yet. labels Nov 20, 2024
@jbroma
Copy link
Member

jbroma commented Nov 20, 2024

If the RN version didn't fix it then its def something in Re.Pack

@jbroma
Copy link
Member

jbroma commented Dec 19, 2024

should be fixed in 5.0.0-rc.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:confirmed The issue has been reviewed and all necessary information is provided. type:bug A bug report.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants