npm、yarn下载包的源地址查看与设置成国内淘宝镜像的地址 1.查询npm,yarn等下载包的源地址 npm config get registry yarn config get registry 2.设置成国内淘宝镜像的地址(加快下载第三方包的速度,服务器在国内,超快的) npm config set registry https://registry.npm.taobao.org yarn config set registry https://registry.npm.taobao.org