I am completely new to React Native. I followed the instructions from the Get Started page for React Native. These are the commands I've run so far:
-brew install node -brew install watchman -npm install -g react-native-cli
I created my project using this command: -react-native init AwesomeProject
I tried to run my app using: -react-native run-ios
Then I get an the build error. Even though the simulator opens up, the app does not open up. Please help.
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/LuisRizo/Documents/Web\ Projects/React/newProject/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/LuisRizo/Documents/Web\ Projects/React/newProject/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)
The following build commands failed:
PhaseScriptExecution Install\ Third\ Party /Users/LuisRizo/Documents/Web\ Projects/React/newProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/newProject.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/newProject.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
":CFBundleIdentifier", Does Not Existerror. To narrow down the issue, could you post your: node, npm, and react-native versions as well as yourpackage.jsonfile. Also, check to see if anything is running on the default port used by React Native which I believe is 8081.$from your command and it should work. If this is not the issue, you can look here for some potential solutions.package.jsonfile should be in the root folder of the react native project. It was created when you ranreact-native init AwesomeProject.