配置镜像

查询当前配置的镜像
yarn config get registry // 默认: https://registry.yarnpkg.com
设置成淘宝镜像
yarn config set registry https://registry.npmmirror.com // 淘宝镜像新域名,旧域名2024年1月1日过期弃用
换成原来的镜像
yarn config set registry https://registry.npmjs.org
————————————————

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原文链接:https://blog.csdn.net/rcwh_white/article/details/140213308

posted @ 2024-07-22 17:26  鼓舞飞扬  阅读(2)  评论(0编辑  收藏  举报