Skip to content

Commit

Permalink
chore: make CLI error message more descriptive pt2 (facebook#32598)
Browse files Browse the repository at this point in the history
Summary:
follow up to facebook#32593

Changelog:
[Internal] [Changed] - chore: make CLI error message more descriptive pt2

Pull Request resolved: facebook#32598

Reviewed By: feedthejim

Differential Revision: D32430833

Pulled By: cortinico

fbshipit-source-id: 0930c42f942653e912ffe887ae7fed6cdab8a255
  • Loading branch information
vonovak authored and facebook-github-bot committed Nov 17, 2021
1 parent d123a6f commit aabf7f7
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 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,
Expand Down

0 comments on commit aabf7f7

Please sign in to comment.