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

[Bug]: Rsbuild dev hangs with MF2 when DTS is enabled #3648

Closed
Jonty800 opened this issue Oct 7, 2024 · 1 comment
Closed

[Bug]: Rsbuild dev hangs with MF2 when DTS is enabled #3648

Jonty800 opened this issue Oct 7, 2024 · 1 comment
Labels
🐞 bug Something isn't working 🎯 upstream

Comments

@Jonty800
Copy link

Jonty800 commented Oct 7, 2024

Version

System:
OS: macOS 14.6
CPU: (8) arm64 Apple M2
Memory: 220.02 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 129.0.6668.90
Edge: 129.0.2792.79
Safari: 17.6
npmPackages:
@rsbuild/core: ^1.0.9 => 1.0.9
@rsbuild/plugin-less: ^1.0.1 => 1.0.1
@rsbuild/plugin-react: ^1.0.3 => 1.0.3
@rsbuild/plugin-sass: ^1.0.2 => 1.0.2

Details

If I run rsbuild build and then rsbuild preview, it works as expected, however, rsbuild dev hangs and I can never load the webapp into localhost:3000.

When dts on MF2 is disabled, it works.

Is there a way to see more verbose logs?

$ /Users/JBaker/commercial/frontend/nexus-mfe/node_modules/.bin/rsbuild dev --open
  Rsbuild v1.0.9

  ➜ Local:    http://localhost:3000/
  ➜ Network:  http://192.168.0.232:3000/
  ➜ Network:  http://100.64.0.1:3000/

start   Compiling...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Federated types created correctly

Reproduce link

http://localhost:3000

Reproduce Steps

yarn rsbuild dev

@Jonty800 Jonty800 added the 🐞 bug Something isn't working label Oct 7, 2024
@chenjiahan
Copy link
Member

This should be related to the @module-federation/enhanced plugin, can you provide a reproduction or report this issue to the https://github.com/module-federation/core repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🎯 upstream
Projects
None yet
Development

No branches or pull requests

2 participants