-
Notifications
You must be signed in to change notification settings - Fork 24.1k
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
SHA-1 for file (......./pollyfills-require.js) is not computed #27903
Comments
@diamantisufi great... . react-native-cli its global convenience package, which is a proxy to @react-native-community/cli ,just a global installation helper. Actually this a part of |
@Usamaliaquat123 Yes, but when using only react-native-cli, was not able to create and run a project, a lot of suggestions were pointing to the @react-native-community/cli and with that in place the creation of the project was successful. I think that the instructions are a little bit weird, for example the SDK version suggested in the official documentation is 9.0 and not the latest one 10.0. I think that a lot of developers are having issues just running their react-native projects, with more than 100K+ views on react-native errors. |
Please post the full envinfo dump in your issue. We discourage using "latest version" and would rather prefer bug reports contain be specific about the version that is being used. |
It's been three weeks since we asked for additional information from the author of this issue. As it happens, we don't have enough information to take action. We are going to close this issue, but please do not hesitate to open a new issue if you are still encountering this problem. |
npx react-native start |
I've been dealing with this issue for a long time now. I'm still looking for a permanent solution, but if you need it to work run |
Description:
I'm trying to bundle index.android.bundle for getting the famous RN error:
Unable to load script from assets ‘index.android.bundle’
I followed all the guides that were shown into the official documentation of RN.
React Native version:
I'm using the
latest version of react-native
. Specifically, I installed all the packages and tools yesterday.Steps To Reproduce
1.Generate a new react-native Project using react-native-cli
2.Remove react-native-cli and install @react-native-community/cli (old cli knows how to create new projects, new CLI does not)
3.Go to the project directory, and run:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
4.Wait couple of seconds
Expected Results
1
.index.android.bunlde
should finish bundling2. After hitting
react-native run-android
, the project should start and display in the android emulator that is active.Snack, code example, screenshot, or link to a repository:
You can find the full error attached here.
The text was updated successfully, but these errors were encountered: