claude-code - 💡(How to fix) Fix [Bug] Auto-update fails repeatedly across all update methods

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":"cQH: Failed to install new version of claude: npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:19:52 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/logs/2026-05-18T16_19_52_458Z-debug-0.log\n at kw (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9199:11061)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:19:52.610Z"},{"error":"cQH: Failed to install new version of claude: npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:31 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/logs/2026-05-18T16_21_31_022Z-debug-0.log\n at kw (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:31.153Z"},{"error":"cQH: Failed to install new version of claude: npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:59 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/logs/2026-05-18T16_21_59_382Z-debug-0.log\n at kw (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:59.481Z"}]

Code Example

[{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:19:52 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_19_52_458Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9199:11061)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:19:52.610Z"},{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:31 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_21_31_022Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:31.153Z"},{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:59 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_21_59_382Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:59.481Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Auto update failing repeatidly. Doctor, uninstall, reinstall, force update, all fail.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.138
  • Feedback ID: 9b951b81-c347-40d1-a6c9-15c499a5b9cf

Errors

[{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:19:52 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_19_52_458Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9199:11061)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:19:52.610Z"},{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:31 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_21_31_022Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:31.153Z"},{"error":"cQH: Failed to install new version of claude:  npm error code ETARGET\nnpm error notarget No matching version found for @anthropic-ai/[email protected] with a date before 5/15/2026, 11:21:59 AM.\nnpm error notarget In most cases you or one of your dependencies are requesting a package version that doesn't exist.\nnpm error A complete log of this run can be found in: /Users/sfdefender25/.npm/_logs/2026-05-18T16_21_59_382Z-debug-0.log\n    at kw_ (/$bunfs/root/src/entrypoints/cli.js:2652:2305)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T16:21:59.481Z"}]

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 [Bug] Auto-update fails repeatedly across all update methods