React Native Basic error and solution record

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.