npm

1、设置淘宝镜像源:

npm config set registry https://registry.npmmirror.com/

2、查看当前镜像源:

npm config get registry

3、设置官方镜像源:

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

  

posted @ 2022-11-13 17:03  银河游鱼  阅读(17)  评论(0编辑  收藏  举报