mac environment installation ember.js

A first install node.js:

1.打开nodejs的官网,进入下载界面:
    https://nodejs.org/zh-cn/download/

nodejs Download
2. Select macOS installation package, it will download a file called node-v8.11.4.pkg, and click to fool installation:
nodejs installation
3. Installation process will enter the power-on password:
? 4. successful installation as shown:
nodejs successful installation
5. an input node -v to the terminal to verify and validate the input npm -v:
verification
6. If the terminal is displayed on the map, the installation proved nodejs

Second, install Taobao Mirror:

1.在终端输入命令:“sudo -s“ ,然后输入开机密码,获得超级系统权限

Get super system privileges
2. Enter the following command to the terminal to download image Taobao:
NPM the install -registry = -g CNPM https://registry.npm.taobao.org -verbose
Write pictures described here

3.安装成功:

Successful installation

Three installation ember.js:

    1.然后在终端输入以下命令,即可安装ember.js:
        cnpm install -g ember-cli

Installation emberjs
2. Installation shows successful:
Successful installation
2. In the terminal, the input ember -v emberjs can check the version number
Write pictures described here
3. successful installation.
4. enter in a terminal: "exit", exit super management authority
four common problems:
1. Install Taobao mirror fails, possibly because of the super did not enter the system management authority, in a terminal type
sudo -s, power-on password, you can enter
2. enter the installation ember ember -v displays an error, as if to say no installation is successful, then enter sudo -s and power-on password in the terminal, enter the super-administrative privileges, the input can be found ember ember -v version number.

Published 18 original articles · won praise 0 · Views 478

Guess you like

Origin blog.csdn.net/aflyingcat520/article/details/82086304