-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
error ---Range [0, 1024) out of bounds for length 51 #47504
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Summary: Fixes facebook#47504 Changelog: [Android] [Fixed] - RNGP - Do not attempt to substring to 1024 while logging Differential Revision: D65659586
Thanks for reporting this @kamthyli That's indeed a bug. The fix for it is here: |
Is there any work around for this? I am working on a turbo module and am following the steps in the docs to properly generate the code. I am getting this error when running the command to generate the android code here.
I took the code change mentioned in the above comment that should fix this and used it to overwrite the code in I am using react native 0.76.1 and @react-native-community/cli v15.0.0. Any help is greatly appreciated, thank you! |
@woodrufs open a separate issue + provide a reproducer please |
Description
What should I do if I encounter a dependency execution error after building an item?
Run yarn android then error
The error I encounter :
package.json info:
Steps to reproduce
just run yarn android
React Native Version
0.76.1
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
create using above commands and install the packages and run.
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: