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

facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory #29761

Closed
andyhaha opened this issue Aug 25, 2020 · 19 comments
Labels
Needs: Author Feedback Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@andyhaha
Copy link

andyhaha commented Aug 25, 2020

I meet with the problem of my release app on line. help!
the React Native version is 0.60.4

stacktraces as follows:

com.facebook.jni.CppException
facebook::react::Recoverable: Could not open file/data/user/0/com.xxx.yyy/files/rn/main.jsbundle: No such file or directory
1 com.facebook.react.bridge.CatalystInstanceImpl.jniLoadScriptFromFile(Native Method)

2 com.facebook.react.bridge.CatalystInstanceImpl.loadScriptFromFile(CatalystInstanceImpl.java:233)
3 com.facebook.react.bridge.JSBundleLoader$2.loadScript(JSBundleLoader.java:47)
4 com.facebook.react.bridge.CatalystInstanceImpl.runJSBundle(CatalystInstanceImpl.java:261)
5 com.facebook.react.k.a(ReactInstanceManager.java:1175)
6 com.facebook.react.k.a(ReactInstanceManager.java:125)
7 com.facebook.react.k$5.run(ReactInstanceManager.java:951)
8 java.lang.Thread.run(Thread.java:929)

@react-native-bot react-native-bot added Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. Needs: Author Feedback Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. and removed Needs: Triage 🔍 labels Aug 25, 2020
@github-actions
Copy link

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@safaiyeh safaiyeh added Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. Newer Patch Available and removed Needs: Author Feedback Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. labels Aug 25, 2020
@safaiyeh
Copy link
Contributor

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

@github-actions
Copy link

⚠️ Using Old Version
ℹ️ It looks like you are using an older version of React Native. Please upgrade to the latest version, and verify if the issue persists. If it does not, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the current release.

@github-actions
Copy link

⚠️ Missing Required Fields
ℹ️ It looks like your issue may be missing some necessary information. GitHub provides an example template whenever a new issue is created. Could you go back and make sure to fill out the template? You may edit this issue, or close it and open a new one.

@stale
Copy link

stale bot commented Dec 25, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 25, 2020
@andyhaha
Copy link
Author

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 14, 2021
@andyhaha
Copy link
Author

Hi @andyhaha could you follow the issue template and verify this happens on the latest version?

It happens on version 0.60.4, and it is a release js bundle.

@andyhaha
Copy link
Author

Is there a solution?

@piccinnigius
Copy link

any update?

@andyhaha
Copy link
Author

still no answer for my problem?

@cmdparkour
Copy link

no answer, no work, and go home

@desunbera
Copy link

desunbera commented Aug 26, 2022

I have also the same issue. I'm Using react-native 0.67.2

@luozhiran
Copy link

I have also the same issue . I'm Using react-native 0.67.3

facebook::react::Recoverable: Could not open file/data/user/0/com.yaya.zone/files/rn-resource/RNBundle/index.android.bundle: No such file or directory

@BM-laoli
Copy link

AHA, I have the same problem

@BM-laoli
Copy link

BM-laoli commented Sep 27, 2022

Ha, guys, I found a way to deal with this
@safaiyeh @andyhaha
React Native found in the C + + code, they are required to full amount of name, I suggest React Native to change the documentation!

     ((CatalystInstanceImpl)instance).loadScriptFromFile(filePath$Name,filePath$Name ,false);
     ((CatalystInstanceImpl)instance).loadSplitBundleFromFile( filePath$Name, filePath$Name);

my filePath$Name like this => ( /storage/emulated/0/Android/data/com.example.myapprnn/files/Bundle/staging/index.android.bundle ) It comes from my File system in android

The following is my warehouse, you may refer to

https://github.com/BM-laoli/Android-IOS-ReactNative

@github-actions
Copy link

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Mar 31, 2023
@github-actions
Copy link

github-actions bot commented Apr 7, 2023

This issue was closed because the author hasn't provided the requested feedback after 7 days.

@github-actions github-actions bot closed this as completed Apr 7, 2023
@shivam-gupta1996
Copy link

Any solution? Still facing the issue
react-native-code-push: 7.0.4
react-native: 0.68.6

@rahulnainwal107
Copy link

I am also having this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Issue Template This issue does not make use of the Issue Template, and may be missing necessary information. Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

10 participants