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/
相关推荐
子兮曰7 小时前
OpenClaw入门:从零开始搭建你的私有化AI助手
前端·架构·github
吴仰晖7 小时前
使用github copliot chat的源码学习之Chromium Compositor
前端
1024小神7 小时前
github发布pages的几种状态记录
前端
不像程序员的程序媛9 小时前
Nginx日志切分
服务器·前端·nginx
北原_春希9 小时前
如何在Vue3项目中引入并使用Echarts图表
前端·javascript·echarts
尽意啊9 小时前
echarts树图动态添加子节点
前端·javascript·echarts
吃面必吃蒜9 小时前
echarts 极坐标柱状图 如何定义柱子颜色
前端·javascript·echarts
O_oStayPositive9 小时前
Vue3使用ECharts
前端·javascript·echarts
竹秋…9 小时前
echarts自定义tooltip中的内容
前端·javascript·echarts
宝贝露.9 小时前
Axure引入Echarts图无法正常显示问题
前端·javascript·echarts