[Node.js]npm使用国内镜像源

永久设置:
npm config set registry
http://registry.npm.taobao.org
查看设置:
npm config get registry
URL 即为需要设置的镜像站点地址,如淘宝镜像: http://registry.npm.taobao.org
posted @ 2020-09-09 15:09  SkyBiuBiu  阅读(1086)  评论(0编辑  收藏  举报