diff --git a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/PathUtils.kt b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/PathUtils.kt index 4a215f22fc3fa0..f94f3658234391 100644 --- a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/PathUtils.kt +++ b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/utils/PathUtils.kt @@ -93,7 +93,8 @@ private fun detectCliPath( error( "Couldn't determine CLI location. " + - "Please set `project.react.cliPath` to the path of the react-native cli.js") + "Please set `project.react.cliPath` to the path of the react-native cli.js file. " + + "This file typically resides in `node_modules/react-native/cli.js`") } // Make sure not to inspect the Hermes config unless we need it,