Just started the RN, met a lot of pits, record. Go to a problem and see issue! on GitHub.
Start command react-native Run-ios error
1.: xcrun:error:unable to find Utility "instruments", not a developer tool or in PATH
Solution Solutions
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/
Just a little bit of a run again.
2. Bundling failed:Error:Unable to resolve module '. /react-transform-hmr/lib/index.js '
Solution Solutions
react-native start --reset-cache
3. Cannot read property ' bindings ' of NULL
node_modules/react-native/Libraries/react-native/react-native-implementation.js: Cannot read property 'bindings' of null (null))
This is roughly the version of the Babel package, the solution
npm install [email protected] --save
Continue to step on the pit, continuously updated
React Native Basic error and solution record