解决方法:更换镜像源

查看镜像源

npm config get registry

更换镜像源

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

更新pnpm包

npm install -g pnpm

再次更新依赖

pnpm install

速度肉眼可见的提升

更多推荐