设置npm的镜像源

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

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

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

posted @ 2017-04-24 11:12  牛头人  阅读(1367)  评论(0编辑  收藏  举报