pnpm install太慢,“will retry in 10 seconds“ 解决方案

1 如果用了vpn可以尝试关掉

2 可能是网不好

3 清理缓存

清理缓存后再试:

c 复制代码
pnpm store prune
pnpm cache clean --all

重新安装:

c 复制代码
pnpm i antd --save

4 淘宝镜像

参考文章:《npm/pnpm/yarn设置国内淘宝源》

c 复制代码
pnpm config get registry

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

pnpm config get registry
# 输出应为:https://registry.npmmirror.com/
相关推荐
紫幽1 天前
从 0 用 Vue 做屏并生成 LVGL 单片机代码(完整源码备忘)
前端·单片机
郭邯1 天前
用 AI 辅助开发一个文件大小转换工具:从需求到上线的完整过程
前端
勾勾圈圈蛋蛋1 天前
前中台项目
前端
触底反弹1 天前
🔐 前端鉴权不再难!手把手带你搞懂 JWT + Zustand + Axios 的完整登录方案
前端·axios
打呵欠的猫1 天前
我用 AI 写了一个"需求翻译器",产品的 PRD 直接变成开发任务清单
前端·ai编程
fatcoder1 天前
玩转Nginx 09 — 运维排障:三场"火灾"实战演练
前端·后端·nginx
前端玩坑坑1 天前
View Transitions API 入门教程,优雅过度
前端
李高钢1 天前
WPF MVVM Light(三):RelayCommand 命令与 Messenger 消息
前端·c#·wpf
lichenyang4531 天前
Socket.IO 原理与技术选型
前端
qq21084629531 天前
在python中什么是 self 和 cls?
开发语言·前端·python