claude-code - 💡(How to fix) Fix [Bug] Plugin command tab UI not opening on Windows Terminal, folder selection dialog displayed instead [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#46036Fetched 2026-04-11 06:30:39
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: EBUSY: resource busy or locked, rm 'C:\Users\user\.cache\claude\staging\2.1.98.11452.1775790057439'\n at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n at async PE4 (unknown)\n at async ABK (unknown)\n at unknown","timestamp":"2026-04-10T03:01:09.161Z"},{"error":"Error: EBUSY: resource busy or locked, rm 'C:\Users\user\.cache\claude\staging\2.1.98.11452.1775790057439'\n at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n at async PE4 (unknown)\n at async ABK (unknown)\n at unknown","timestamp":"2026-04-10T03:01:09.161Z"}]

Code Example

[{"error":"Error: EBUSY: resource busy or locked, rm 'C:\\Users\\user\\.cache\\claude\\staging\\2.1.98.11452.1775790057439'\n    at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n    at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n    at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n    at async PE4 (unknown)\n    at async ABK (unknown)\n    at unknown","timestamp":"2026-04-10T03:01:09.161Z"},{"error":"Error: EBUSY: resource busy or locked, rm 'C:\\Users\\user\\.cache\\claude\\staging\\2.1.98.11452.1775790057439'\n    at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n    at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n    at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n    at async PE4 (unknown)\n    at async ABK (unknown)\n    at unknown","timestamp":"2026-04-10T03:01:09.161Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description OS: Windows 버전: 2.1.92 터미널: Windows Terminal 증상: /plugin 입력 시 탭 UI 안 열리고 폴더 선택 화면 표시

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.92
  • Feedback ID: 0a83b931-f723-4bb7-ae39-4fcf0044721d

Errors

[{"error":"Error: EBUSY: resource busy or locked, rm 'C:\\Users\\user\\.cache\\claude\\staging\\2.1.98.11452.1775790057439'\n    at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n    at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n    at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n    at async PE4 (unknown)\n    at async ABK (unknown)\n    at unknown","timestamp":"2026-04-10T03:01:09.161Z"},{"error":"Error: EBUSY: resource busy or locked, rm 'C:\\Users\\user\\.cache\\claude\\staging\\2.1.98.11452.1775790057439'\n    at async jE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:23749)\n    at async DE4 (B:/~BUN/root/src/entrypoints/cli.js:1938:24048)\n    at async fBK (B:/~BUN/root/src/entrypoints/cli.js:1938:24350)\n    at async PE4 (unknown)\n    at async ABK (unknown)\n    at unknown","timestamp":"2026-04-10T03:01:09.161Z"}]

extent analysis

TL;DR

The issue may be resolved by addressing the "EBUSY: resource busy or locked" error, potentially by releasing locked resources or adjusting the application's handling of concurrent file operations.

Guidance

  • Investigate the cause of the "EBUSY: resource busy or locked" error, focusing on the rm operation in the cli.js file.
  • Verify if the issue persists when running the application with elevated privileges or in a different environment.
  • Check for any file locks or pending operations on the C:\Users\user\.cache\claude\staging directory.
  • Consider implementing retry logic or error handling for file operations to mitigate the impact of temporary resource locks.

Example

No specific code example is provided due to the lack of detailed implementation information.

Notes

The provided error messages suggest a potential issue with file system operations, but the root cause may be related to the application's internal state or environment-specific factors.

Recommendation

Apply a workaround, such as implementing retry logic or adjusting file operation handling, as the issue seems to be related to temporary resource locks rather than a version-specific bug.

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