Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/platform-android/native_modules.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ class ReactNativeModules {
if (this.reactNativeModules != null) return this.reactNativeModules

ArrayList<HashMap<String, String>> reactNativeModules = new ArrayList<HashMap<String, String>>()
def npx = Os.isFamily(Os.FAMILY_WINDOWS) ? "npx.cmd" : "npx"
def command = "${npx} --quiet --no-install react-native config"
def command = "yarn react-native config --silent"
/**
* Running npx from the directory of the JS app which holds this script in its node_modules.
* We do so, because Gradle may be ran with a different directory as CWD, that's outside of JS project
Expand Down