mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d5da70e17e
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 https://github.com/facebook/react-native/issues/33525 ## Changelog [Android] [Fixed] - Don't require yarn for codegen tasks Pull Request resolved: https://github.com/facebook/react-native/pull/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