Skip to content

Commit

Permalink
Update node-binary.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored Apr 10, 2019
1 parent a4714a4 commit 35b3312
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/node-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@

nodejs_not_found()
{
echo "error: Can't find '$NODE_BINARY' binary to build React Native bundle." >&2
echo "If you have a non-standard nodejs installation, select your project in Xcode," >&2
echo "find 'Build Phases' - 'Bundle React Native code and images'" >&2
echo "and change NODE_BINARY to an absolute path to your node executable." >&2
echo "You can find it by invoking 'which node' in the terminal." >&2
echo "error: Can't find the '$NODE_BINARY' binary to build the React Native bundle. " \
"If you have a non-standard Node.js installation, select your project in Xcode, find "\
"'Build Phases' - 'Bundle React Native code and images' and change NODE_BINARY to an "\
"absolute path to your node executable. You can find it by invoking 'which node' in the terminal." >&2
exit 2
}

Expand Down

0 comments on commit 35b3312

Please sign in to comment.