SSLY⡃ 2022-09-21 09:01 采纳率: 75%
浏览 1967
已结题

pnpm安装依赖时出现错误

使用pnpm安装依赖时出现以下报错怎么办

img

pnpm
v7.7.1
node
v16.15.1


$ pnpm add promise-retry -w
Progress: resolved 0, reused 1, downloaded 0, added 0
 WARN  deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
Progress: resolved 28, reused 28, downloaded 0, added 0
 WARN  GET https://registry.npmmirror.com/promise-retry error (CERT_HAS_EXPIRED). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmmirror.com/promise-retry error (CERT_HAS_EXPIRED). Will retry in 1 minute. 1 retries left.
 ERR_PNPM_META_FETCH_FAIL  GET https://registry.npm.taobao.org/promise-retry: request to https://registry.npmmirror.com/promise-retry failed, reason: certificate has expired
  • 写回答

2条回答 默认 最新

  • 撸空投的菜鸟 2022-09-21 09:22
    关注

    淘宝源今天证书过期了。切换到华为源吧registry=https://repo.huaweicloud.com/repository/npm/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 10月3日
  • 已采纳回答 9月25日
  • 创建了问题 9月21日

悬赏问题

  • ¥15 找会编程的帅哥美女 可以用MATLAB里面的simulink编程,用Keil5编也可以。
  • ¥15 已知隐函数其中一个变量τ的具体值,求另一个变量
  • ¥15 r语言Hurst指数
  • ¥15 Acrn IVSHMEM doorbell问题
  • ¥15 yolov5中的val测试集训练时数量变小问题
  • ¥15 MPLS/VPN实验中MPLS的配置问题
  • ¥15 materialstudio氢键计算问题
  • ¥15 echarts图表制作
  • ¥15 halcon根据玻璃面板纹路取区域
  • ¥15 HFSS设计小型化180度耦合器