Skip to content

Commit

Permalink
chore: make CLI error message more descriptive pt2
Browse files Browse the repository at this point in the history
follow up to facebook#32593
  • Loading branch information
vonovak authored Nov 15, 2021
1 parent c180627 commit 23661c0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 file. " +
"This file typically resides in `node_modules/react-native/cli.js`")
}

// Make sure not to inspect the Hermes config unless we need it,
Expand Down

0 comments on commit 23661c0

Please sign in to comment.