目 录CONTENT

文章目录

npm使用淘宝镜像

过客
2024-03-07 / 0 评论 / 0 点赞 / 9 阅读 / 0 字

在国内使用npm安装镜像的时候非常的慢,而且有时还断网下不了。可能是npm官方镜像在国内可能不太稳定,可以切换npm的国内镜像

修改成淘宝镜像源

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

测试

npm config get registry

返回https://registry.npmmirror.com/,说明镜像配置成功

0
npm
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区