NPM设置和恢复淘宝镜像

# 设置淘宝源
npm config set registry https://registry.npm.taobao.org
npm config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass
# 恢复默认源
npm config delete registry
npm config delete sass_binary_site
原文地址:https://www.cnblogs.com/dereklovecc/p/15073231.html