用户目录C:\Users\xxx下建立.npmrc文件,内容如下:
C:\Users\xxx
.npmrc
registry="http://registry.npmmirror.com" ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/" SASS_BINARY_SITE="https://npmmirror.com/mirrors/node-sass"
旧镜像已经停止解析 https://npm.taobao.org/