npm 设置为淘宝镜像

npm config set registry https://registry.npm.taobao.org

electron

npm config set electron_mirror https://npm.taobao.org/mirrors/electron/

sass

npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/

参考博客:
https://betgar.github.io/2019/08/12/npm-packages-mirror-config/

Last modification:April 19th, 2020 at 11:12 pm
 Support
如果觉得我的文章对你有用,请随意赞赏