Detailed installation steps under 1.ionic New version 2.0beta36 window (more than 1 official version)

Source: Internet
Author: User

1, first install nodejs:https://nodejs.org/en/download/

2. Administrator Run command: NPM install-g cnpm--registry=https://registry.npm.taobao.org

(This is a domestic image to solve the problem of slow installation)

3. Cnpm-v to see if the installation was successful

4, CNPM install-g [email protected]

(Just the CNPM image is not going to work like NPM.)

5, if you want to ionic create a directory by default use of the domestic mirror, to configure the open node directory inside the NODE_MODULES\NPM\NPMRC

I'm here C:\Program FILES\NODEJS\NODE_MODULES\NPM\NPMRC use Notepad to open the following add

Registry = http://registry.cnpmjs.org

Ok (if WIN10 or WIN8 permissions can not be modified to drag out the desktop and then drag back)

6, Ionic start demo--v2

(Create a project named demo)

7. Add Android Platform

Ionic Platform Add Android

Detailed installation steps under 1.ionic New version 2.0beta36 window (more than 1 official version)

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.