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

 

posted @ 2017-09-28 23:04  大佬辉  阅读(137)  评论(0编辑  收藏  举报