Describe the bug
Enabling cache in Re.Pack v5 in local mode with HMR enabled causes, after killing one of the bundlers of micro app error like this:
System Info
System:
OS: macOS 15.3
CPU: (12) arm64 Apple M2 Pro
Memory: 4.47 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 23.6.1
path: ~/.nvm/versions/node/v23.6.1/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: ~/.nvm/versions/node/v23.6.1/bin/npm
Watchman:
version: 2024.10.21.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12550806
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /usr/bin/javac
Ruby:
version: 3.1.0
path: /Users/maciej.lodygowski/.rvm/rubies/ruby-3.1.0/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.1.2
wanted: ^15.1.2
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.7
wanted: 0.76.7
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Re.Pack Version
5.0.0-rc.10
Reproduction
https://github.com/callstack/repack/tree/hmr-cache-error-repro
Steps to reproduce
Steps to reproduce:
Using Rspack + ModuleFederationV2 plugin.
Enable caching in host app, load application.
Kill micro frontend app, try reloading application.
Application fails with error while resolving hmr bundle.
Describe the bug
Enabling cache in Re.Pack v5 in local mode with HMR enabled causes, after killing one of the bundlers of micro app error like this:
System Info
System: OS: macOS 15.3 CPU: (12) arm64 Apple M2 Pro Memory: 4.47 GB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 23.6.1 path: ~/.nvm/versions/node/v23.6.1/bin/node Yarn: version: 1.22.22 path: /opt/homebrew/bin/yarn npm: version: 10.9.2 path: ~/.nvm/versions/node/v23.6.1/bin/npm Watchman: version: 2024.10.21.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Platforms: - DriverKit 23.5 - iOS 17.5 - macOS 14.5 - tvOS 17.5 - visionOS 1.2 - watchOS 10.5 Android SDK: Not Found IDEs: Android Studio: 2024.2 AI-242.23339.11.2421.12550806 Xcode: version: 15.4/15F31d path: /usr/bin/xcodebuild Languages: Java: version: 17.0.12 path: /usr/bin/javac Ruby: version: 3.1.0 path: /Users/maciej.lodygowski/.rvm/rubies/ruby-3.1.0/bin/ruby npmPackages: "@react-native-community/cli": installed: 15.1.2 wanted: ^15.1.2 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.7 wanted: 0.76.7 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: true newArchEnabled: trueRe.Pack Version
5.0.0-rc.10
Reproduction
https://github.com/callstack/repack/tree/hmr-cache-error-repro
Steps to reproduce
Steps to reproduce:
Using Rspack + ModuleFederationV2 plugin.
Enable caching in host app, load application.
Kill micro frontend app, try reloading application.
Application fails with error while resolving hmr bundle.