SocketDev / SocketDev/socket-cli

429 too many requests with clean npm install on free plan

未关闭
#947 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

question
主要语言
TypeScript
星标
317
派生
65
平均合并
1 小时 26 分钟
30 天内合并 PR
30

描述

I got rate-limited for trying to use the cli to install all packages from my package.json:

⠏ Looking up data for 760 packages(node:67363) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 31 abort listeners added to [AbortSignal]. MaxListeners is 30. Use events.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
⠹ npm error Socket API POST request failed (429): Too Many Requests
npm error A complete log of this run can be found in: /path/to/.npm/_logs/2025-11-28T13_17_29_504Z-debug-0.log

Seems very unusual that such a basic npm feature doesn't work. I'm on a free plan, could that be it?

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,使用包含许多包的 package.json 重现 CLI 安装,并检查与报告的 Socket API POST 429 相关的请求路径。将其行为与较小的安装和警告输出进行比较;当报告的包集合能够在免费计划上完成干净安装且不会意外触及速率限制时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
api, cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。