Skip to content

Commit

Permalink
Update JSLoader.cpp (#29270)
Browse files Browse the repository at this point in the history
Summary:
Since react-native-cli is deprecated, the correct command should be `npx react-native start`

Pull Request resolved: #29270

Reviewed By: sammy-SC

Differential Revision: D30017028

Pulled By: sota000

fbshipit-source-id: cfcf9e1d150f51750a4e86133bd3167506ee7348
  • Loading branch information
sunnylqm authored and facebook-github-bot committed Aug 5, 2021
1 parent b30fe90 commit 72f7962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/react/jni/JSLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ loadScriptFromAssets(AAssetManager *manager, const std::string &assetName) {

throw std::runtime_error(folly::to<std::string>(
"Unable to load script. Make sure you're "
"either running Metro (run 'react-native start') or that your bundle '",
"either running Metro (run 'npx react-native start') or that your bundle '",
assetName,
"' is packaged correctly for release."));
}
Expand Down

0 comments on commit 72f7962

Please sign in to comment.