claude-code - 💡(How to fix) Fix session usage jumped 30% per prompt in less then 1 minute of entering the prompt

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"_gH: Failed to install new version of claude: npm error code EBUSY\nnpm error syscall copyfile\nnpm error path C:\Users\mihai\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@anthropic-ai\claude-code-win32-x64\claude.exe\nnpm error dest C:\Users\mihai\AppData\Roaming\npm\node_modules\@anthropic-ai\.claude-code-sIkRlSJU\node_modules\@anthropic-ai\claude-code-win32-x64\claude.exe\nnpm error errno -4082\nnpm error EBUSY: resource busy or locked, copyfile 'C:\Users\mihai\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\node_modules\@anthropic-ai\claude-code-win32-x64\claude.exe' -> 'C:\Users\mihai\AppData\Roaming\npm\node_modules\@anthropic-ai\.claude-code-sIkRlSJU\node_modules\@anthropic-ai\claude-code-win32-x64\claude.exe'\nnpm error A complete log of this run can be found in: C:\Users\mihai\AppData\Local\npm-cache\_logs\2026-05-17T13_02_48_275Z-debug-0.log\n at F38 (B:/~BUN/root/src/entrypoints/cli.js:2705:2305)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:02:48.834Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011Cb8BmsQHJqHGiD5L24woQ"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.423Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier "You"\n at <parse> (:0)\n at parse (unknown)\n at _1$ (B:/~BUN/root/src/entrypoints/cli.js:171:10030)\n at _ (B:/~BUN/root/src/entrypoints/cli.js:131:19159)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:173:1430)\n at z_H (B:/~BUN/root/src/entrypoints/cli.js:6537:601)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.425Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011Cb8BmsguDU8Wf9M9T6rLE"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.426Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011Cb8C1U8wiqMH2Y7MoXQ5q"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:06:05.826Z"}]

Code Example

[{"error":"_gH: Failed to install new version of claude:  npm error code EBUSY\nnpm error syscall copyfile\nnpm error path C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe\nnpm error dest C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\.claude-code-sIkRlSJU\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe\nnpm error errno -4082\nnpm error EBUSY: resource busy or locked, copyfile 'C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe' -> 'C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\.claude-code-sIkRlSJU\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe'\nnpm error A complete log of this run can be found in: C:\\Users\\mihai\\AppData\\Local\\npm-cache\\_logs\\2026-05-17T13_02_48_275Z-debug-0.log\n    at F38 (B:/~BUN/root/src/entrypoints/cli.js:2705:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:02:48.834Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8BmsQHJqHGiD5L24woQ\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.423Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"You\"\n    at <parse> (:0)\n    at parse (unknown)\n    at _1$ (B:/~BUN/root/src/entrypoints/cli.js:171:10030)\n    at _ (B:/~BUN/root/src/entrypoints/cli.js:131:19159)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:173:1430)\n    at z_H (B:/~BUN/root/src/entrypoints/cli.js:6537:601)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.425Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8BmsguDU8Wf9M9T6rLE\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.426Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8C1U8wiqMH2Y7MoXQ5q\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:06:05.826Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description session usage jumped 30% per prompt without visible output, reaching 100% very quickly

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.132
  • Feedback ID: 87d44603-4dc7-4cde-b1c2-44745b46b51d

Errors

[{"error":"_gH: Failed to install new version of claude:  npm error code EBUSY\nnpm error syscall copyfile\nnpm error path C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe\nnpm error dest C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\.claude-code-sIkRlSJU\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe\nnpm error errno -4082\nnpm error EBUSY: resource busy or locked, copyfile 'C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\claude-code\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe' -> 'C:\\Users\\mihai\\AppData\\Roaming\\npm\\node_modules\\@anthropic-ai\\.claude-code-sIkRlSJU\\node_modules\\@anthropic-ai\\claude-code-win32-x64\\claude.exe'\nnpm error A complete log of this run can be found in: C:\\Users\\mihai\\AppData\\Local\\npm-cache\\_logs\\2026-05-17T13_02_48_275Z-debug-0.log\n    at F38 (B:/~BUN/root/src/entrypoints/cli.js:2705:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:02:48.834Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8BmsQHJqHGiD5L24woQ\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.423Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"You\"\n    at <parse> (:0)\n    at parse (unknown)\n    at _1$ (B:/~BUN/root/src/entrypoints/cli.js:171:10030)\n    at _ (B:/~BUN/root/src/entrypoints/cli.js:131:19159)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:173:1430)\n    at z_H (B:/~BUN/root/src/entrypoints/cli.js:6537:601)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.425Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8BmsguDU8Wf9M9T6rLE\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:03:01.426Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb8C1U8wiqMH2Y7MoXQ5q\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58533)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-17T13:06:05.826Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix session usage jumped 30% per prompt in less then 1 minute of entering the prompt