We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56976a commit aee11c0Copy full SHA for aee11c0
1 file changed
packager/react-native-xcode.sh
@@ -29,6 +29,9 @@ cd ..
29
set -x
30
DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH
31
32
+# npm global install path may be a non-standard location
33
+PATH="$(npm prefix -g)/bin:$PATH"
34
+
35
# Define NVM_DIR and source the nvm.sh setup script
36
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
37
@@ -43,9 +46,6 @@ if [[ -x "$HOME/.nodenv/bin/nodenv" ]]; then
43
46
eval "$($HOME/.nodenv/bin/nodenv init -)"
44
47
fi
45
48
-# npm global install path may be a non-standard location
-PATH="$(npm prefix -g)/bin:$PATH"
-
49
react-native bundle \
50
--entry-file index.ios.js \
51
--platform ios \
0 commit comments