yarn|| npm 切换镜像源 查看一下当前源 yarn config get registry 切换为淘宝源 yarn config set registry https://registry.npm.taobao.org 切回原镜像 yarn config set registry https://registry.yarnpkg.com