1> cnpm(不推薦)npm
npm install -g cnpm --registry=https://registry.npm.taobao.org
2> 推薦第二種bash
npm config set registry https://registry.npm.taobao.org