设置npm的镜像源

将npm的镜像源设置为淘宝镜像源

1.执行命令修改镜像源地址:npm config set registry https://registry.npm.taobao.org

2.重新加载修改后的地址:npm info underscore

原文地址:https://www.cnblogs.com/web424/p/6755862.html