-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Got a task FAILED for the task generateCodegenSchemaFromJavaScript when executing yarn install-android-jsc
with nothing modified
#37353
Comments
Hi @jcdhlzq, What I think has happened is that you had an outdated version of codegen. You pulled in some changes we landed last week, and when building again, rn-tester is not rebuilding codegen as it can find an existing prebuilt already on disk. By deleting the lib folder, we should force it to rebuild Codegen and it should work. |
It's helpful! Thanks! |
Where we have to run this command? |
Same question |
@harisbitsol123 @ngxhuyhoang: are you trying to run RN-Tester from the React Native repo? If yes, you have to run it from the main folder of the repository. This command does not work for regular apps, as regular apps don't have the |
Hello everyone after update my RN project from 0.70.4 to 0.75.4 react native and i am facing below error any one has any solution for this? What went wrong:
|
@Kavahardik Can you try the following:
It could be that there are some stale files cc. @cortinico as Gradle tasks are more his domain. |
Please open a new task and provide the FULL build log |
Description
Got the FAILED without modification and it just occurs suddenly.

React Native Version
0.72.0-rc2
Output of
npx react-native info
System:
OS: macOS 13.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 127.24 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.13.1
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 8.1.2
path: /usr/local/bin/npm
Watchman:
version: 2023.03.13.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.11.3
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 14.3/14E222b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.12
path: /usr/bin/javac
Ruby:
version: 3.0.5
path: /usr/local/opt/[email protected]/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: Not found
Steps to reproduce
On the main branch:
Snack, code example, screenshot, or link to a repository
no
The text was updated successfully, but these errors were encountered: