首页 前端知识 pnpm 源不对 Will retry in 10 seconds. 2 retries left.

pnpm 源不对 Will retry in 10 seconds. 2 retries left.

2024-09-21 21:09:24 前端知识 前端哥 344 551 我要收藏

现象

由于使用npm config set registry 切换淘宝源时,把地址打错了。

后面使用pnpm install 时出现

 此时无论我怎么使用npm config set registry 或者pnpm config set registry 切回正确的源均没有效果。

解决

在其他用npm的项目运行一下npm i 

再运行pnpm i 即可解决。

转载请注明出处或者链接地址:https://www.qianduange.cn//article/18484.html
标签
评论
发布的文章

javascript jQuery

2024-09-21 22:09:33

【若依】表格固定列宽

2024-09-21 22:09:30

Knockout-jQueryUI 使用指南

2024-09-21 22:09:29

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!