设置镜像

npm config set registry https://registry.npm.taobao.org
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/
【设置镜像】npm config set electron_mirror https://npm.taobao.org/mirrors/electron/

    推荐阅读