I have create sample React Native project and following the tutorial as per react native website.
I have try to run the application IOS simulator, its throwing error
Run the command
react-native upgrade react-native run-ios
or
react-native run-android
this was solved when am faced this issue