Describe the bug
Thank you for your support and appreciation of this amazing library!
In my case, I download the build folder from a self-hosted server to my local device and read its contents. First, the system downloads all files in the bundle folder. After saving them to the device's local storage, it initializes and calls registerRemotes with the entry point set to the local path of mf-manifest.json, which includes all the downloaded bundle folders.
But error showing up
Warning: Error: [ Federation Runtime ]: remoteEntryExports is undefined
{
"name": "hostApp/miniApp",
"alias": "miniApp",
"entry": "https:noop:///mini.container.js.bundle",
"shareScope": "default",
"type": "global",
"entryGlobalName": "miniApp",
"version": "file:///Users/mobile/Library/Developer/CoreSimulator/Devices/E4676B6B-885A-47B6-B7D6-24034FD526D4/data/Containers/Data/Application/E53DB778-594B-4A0D-B2AA-2C3672DD5E9F/Library/Caches/miniapps/miniApp/0.0.1/ios/mf-manifest.json",
"buildVersion": "0.0.1"
}

System Info
System:
OS: macOS 15.2
CPU: (10) arm64 Apple M4
Memory: 115.44 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.18.3
path: ~/.nvm/versions/node/v20.18.3/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.18.3/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.18.3/bin/npm
Watchman:
version: 2025.02.10.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/mobile/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.22562.218.2431.13114758
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.26
path: /usr/bin/javac
Ruby:
version: 3.1.2
path: /Users/mobile/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.9
wanted: 0.76.9
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.6
Reproduction
https://github.com/longb1997/repack-issue-load-local/tree/main
Steps to reproduce
I listed in README.MD in reproduce repository
Describe the bug
Thank you for your support and appreciation of this amazing library!
In my case, I download the build folder from a self-hosted server to my local device and read its contents. First, the system downloads all files in the bundle folder. After saving them to the device's local storage, it initializes and calls registerRemotes with the entry point set to the local path of mf-manifest.json, which includes all the downloaded bundle folders.
But error showing up
System Info
System: OS: macOS 15.2 CPU: (10) arm64 Apple M4 Memory: 115.44 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.18.3 path: ~/.nvm/versions/node/v20.18.3/bin/node Yarn: version: 1.22.22 path: ~/.nvm/versions/node/v20.18.3/bin/yarn npm: version: 10.8.2 path: ~/.nvm/versions/node/v20.18.3/bin/npm Watchman: version: 2025.02.10.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.16.2 path: /Users/mobile/.rbenv/shims/pod SDKs: iOS SDK: Platforms: - DriverKit 24.2 - iOS 18.2 - macOS 15.2 - tvOS 18.2 - visionOS 2.2 - watchOS 11.2 Android SDK: Not Found IDEs: Android Studio: 2024.3 AI-243.22562.218.2431.13114758 Xcode: version: 16.2/16C5032a path: /usr/bin/xcodebuild Languages: Java: version: 11.0.26 path: /usr/bin/javac Ruby: version: 3.1.2 path: /Users/mobile/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": installed: 15.0.1 wanted: 15.0.1 react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.76.9 wanted: 0.76.9 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: true newArchEnabled: trueRe.Pack Version
5.0.6
Reproduction
https://github.com/longb1997/repack-issue-load-local/tree/main
Steps to reproduce
I listed in README.MD in reproduce repository