淘宝镜像源于2021-11-21 16:53:52更新,以下是更新淘宝镜像源的步骤:
1.首先通过cmd打开终端,查看自己的镜像源
查看镜像源 npm config get registry
如果自己的镜像源是https://registry.npmmirror.com/ 则是最新的淘宝镜像源。
2.若不是以上镜像源,请更换最新镜像源
淘宝最新镜像源 https://registry.npmmirror.com/
3.更换为淘宝最新镜像源
cmd终端输入:npm config set registry https://registry.npmmirror.com
4.再次查看自己的镜像源
查看镜像源 npm config get registry
5.镜像源显示为 https://registry.npmmirror.com/则表明更换成功,已是淘宝最新镜像源