React-native and NPM Install installation problem _react-native

Source: Internet
Author: User

We have started using react-native in our project, so Swift learns to lay down a period of time, studied RN for one months, and today shares the learning process:

Study Data collation:

1, react-native Chinese network: http://reactnative.cn/docs/0.27/getting-started.html (recommended, have questions to see the official document)

2, github The above learning materials: Https://github.com/reactnativecn/react-native-guide (a collection of various RN learning materials)

3, http://www.ruanyifeng.com/blog/2015/03/react.html (Nanyi tutorial)

------------------------------------------------------------------------------------------

Tools: My original Webstrom, now Astro Boy, I find Astro's associative function is stronger than webstorm. After I finished learning the basic control, 30 days Webstrom use just expired, I changed Astro, found quite useful:

First, share their learning process (currently is the iOS version of the main)

1, installation environment, Webstrom, learn the basic control.

2, see other people's code: the installation of other people's projects, there are problems, NPM install can not be implemented, the practice is as follows:

The error is as follows:


Background: When I installed node using the Brew Installation with node--version, the version was found to be 4.4.5.

So you uninstall node and Reuse NVM installation: The reference link is as follows: http://linyehui.me/2016/03/03/reinstall-nodejs-on-osx.html

Note: After installing the NVM, the terminal will be completely retired and reopened before there will be NVM

Performing npm install in the root directory of the project successfully installed






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.