You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with mode federation and remote bundles
I am getting this error after bundle downloaded successfully (I checked network) Error: Script file does not exist: /data/user/0/com.a.dev/files/scripts/user.script.bundle
I check the file path and I realized it exists.
This error happening randomly. Some time all work, some time happenning for other containers.
System Info
Android 13
react-native 75
New Architecture
Re.Pack Version
4.3.3
Reproduction
n/a
Steps to reproduce
Create a react-native new architecture project with few containers. Make them remote federation.
The text was updated successfully, but these errors were encountered:
Hi @hosseinmd, could you post your repack configuration or even better, provide an MRE to reproduce this problem? I checked locally with RN 0.75.3, newest Re.Pack and it works on my side.
Hi, it is hard to reproduce. But I will find a way.
I found the problem. It is because when a script is starting to load, another request was call but the config.fetch is set to false so second request want to read file from file system before than first request write code in that file.
Describe the bug
I have a project with mode federation and remote bundles
I am getting this error after bundle downloaded successfully (I checked network)
Error: Script file does not exist: /data/user/0/com.a.dev/files/scripts/user.script.bundle
I check the file path and I realized it exists.
This error happening randomly. Some time all work, some time happenning for other containers.
System Info
Re.Pack Version
4.3.3
Reproduction
n/a
Steps to reproduce
Create a react-native new architecture project with few containers. Make them remote federation.
The text was updated successfully, but these errors were encountered: