Ionic 环境搭建
国内使用NPM,最好设置国内镜像源
修改C:\users\[用户名]下的.npmrc文件:
registry=https://registry.npm.taobao.org/
distury=https://npm.taobao.org/dist
sass-binary-site=https://npm.taobao.org/mirrors/node-sass
或者使用 Cmd 命令 npm set
npm set registry=https://registry.npm.taobao.org/
npm set distury=https://npm.taobao.org/dist
npm set sass-binary-site=https://npm.taobao.org/mirrors/node-sass