-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Replaced windowsAwareYarn with windowsAwareCommandLine for node calls #33530
Conversation
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Base commit: 16397e0 |
It is not necessary to call node via yarn. Instead with this commit node is called directly (windows aware). This enables builds on systems that don't have yarn installed.
Base commit: 16397e0 |
Thanks for addressing this @danilobuerger 🙏 We need to find a way to ship a point release for RGP but we'll make sure this is included 👍 |
This pull request was successfully merged by @danilobuerger in d5da70e. When will my fix make it into a release? | Upcoming Releases |
…#33530) Summary: It is not necessary to call node via yarn. Instead with this commit node is called directly (windows aware). This enables builds on systems that don't have yarn installed. Fixes #33525 ## Changelog [Android] [Fixed] - Don't require yarn for codegen tasks Pull Request resolved: #33530 Test Plan: 1. react-native init test 2. cd test 3. enable newArchEnabled=true (gradle.properties) 4. enable enableHermes: true (build.gradle) 5. react-native run-android (when the yarn is not installed on the system) (I have not tested or verified if this works on windows build machines) Reviewed By: sshic Differential Revision: D35279376 Pulled By: cortinico fbshipit-source-id: 430e4a7bcdec7d5377efac747f6b935d634451cc
…facebook#33530) Summary: It is not necessary to call node via yarn. Instead with this commit node is called directly (windows aware). This enables builds on systems that don't have yarn installed. Fixes facebook#33525 ## Changelog [Android] [Fixed] - Don't require yarn for codegen tasks Pull Request resolved: facebook#33530 Test Plan: 1. react-native init test 2. cd test 3. enable newArchEnabled=true (gradle.properties) 4. enable enableHermes: true (build.gradle) 5. react-native run-android (when the yarn is not installed on the system) (I have not tested or verified if this works on windows build machines) Reviewed By: sshic Differential Revision: D35279376 Pulled By: cortinico fbshipit-source-id: 430e4a7bcdec7d5377efac747f6b935d634451cc
Summary
It is not necessary to call node via yarn. Instead with this commit node is called directly (windows aware). This enables builds on systems that don't have yarn installed.
Fixes #33525
Changelog
[Android] [Fixed] - Don't require yarn for codegen tasks
Test Plan
(I have not tested or verified if this works on windows build machines)