claude-code - 💡(How to fix) Fix Plugin marketplace fails with EFAULT on macOS 26 Tahoe [1 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#53181Fetched 2026-04-26 05:22:18
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

Failed to load all marketplaces. Errors: claude-plugins-official: Failed to load marketplace
"claude-plugins-official" from source (github): Failed to finalize marketplace cache. Please
manually delete the directory at /Users/<user>/.claude/plugins/marketplaces/claude-plugins-official
if it exists and try again.

Technical details: EFAULT: bad address in system call argument, rm
'/Users/<user>/.claude/plugins/marketplaces/claude-plugins-official'

Fix Action

Workaround

Manually clone the marketplace repo and copy skill files to ~/.claude/skills/ to bypass the marketplace loader entirely.

Code Example

Failed to load all marketplaces. Errors: claude-plugins-official: Failed to load marketplace
"claude-plugins-official" from source (github): Failed to finalize marketplace cache. Please
manually delete the directory at /Users/<user>/.claude/plugins/marketplaces/claude-plugins-official
if it exists and try again.

Technical details: EFAULT: bad address in system call argument, rm
'/Users/<user>/.claude/plugins/marketplaces/claude-plugins-official'
RAW_BUFFERClick to expand / collapse

Bug Description

The /plugin command fails to load the official marketplace with an EFAULT error on macOS 26 (Tahoe). This occurs every time — the marketplace never loads successfully.

Error Message

Failed to load all marketplaces. Errors: claude-plugins-official: Failed to load marketplace
"claude-plugins-official" from source (github): Failed to finalize marketplace cache. Please
manually delete the directory at /Users/<user>/.claude/plugins/marketplaces/claude-plugins-official
if it exists and try again.

Technical details: EFAULT: bad address in system call argument, rm
'/Users/<user>/.claude/plugins/marketplaces/claude-plugins-official'

Steps to Reproduce

  1. Run /plugin in Claude Code
  2. Marketplace fails to load with the above error
  3. Manually deleting the cache directory (rm -rf) and retrying produces the same error — the directory is re-cloned but finalization fails again with EFAULT

Additional Notes

  • The files in the cloned marketplace directory have protection flags (chflags) that prevent normal rmchflags -R nouchg is needed before deletion works. This may be related to the EFAULT during the rm step in finalization.
  • Manually cloning the repo (git clone https://github.com/anthropics/claude-plugins-official.git ~/.claude/plugins/marketplaces/claude-plugins-official) works, but /plugin still fails on the next invocation when it tries to finalize/update the cache.
  • Possibly related to #52827 (marketplace finalization case-sensitivity bug), but this manifests as EFAULT on the rm call rather than ENOENT on rename.

Workaround

Manually clone the marketplace repo and copy skill files to ~/.claude/skills/ to bypass the marketplace loader entirely.

Environment

  • Claude Code version: 2.1.119
  • OS: macOS 26.4.1 (Tahoe) / Darwin 25.4.0
  • Hardware: MacBook Pro, Apple M5 Max
  • Filesystem: APFS (case-insensitive, default)

extent analysis

TL;DR

Manually deleting the marketplace cache directory with appropriate permissions and flags may resolve the EFAULT error when loading the official marketplace.

Guidance

  • The error message suggests that the issue is related to the rm system call failing due to a bad address, which may be caused by the protection flags on the files in the cloned marketplace directory.
  • Try manually deleting the cache directory using chflags -R nouchg followed by rm -rf to remove the protection flags before deleting the directory.
  • Verify that the directory is deleted successfully and retry the /plugin command to see if the marketplace loads correctly.
  • If the issue persists, try the provided workaround of manually cloning the marketplace repo and copying skill files to ~/.claude/skills/ to bypass the marketplace loader.

Example

chflags -R nouchg ~/.claude/plugins/marketplaces/claude-plugins-official
rm -rf ~/.claude/plugins/marketplaces/claude-plugins-official

Notes

The issue may be related to the case-sensitivity bug mentioned in #52827, but the error message and symptoms are different. The provided workaround may not be a permanent solution, but it can help bypass the issue temporarily.

Recommendation

Apply the workaround of manually cloning the marketplace repo and copying skill files to ~/.claude/skills/ to bypass the marketplace loader, as this provides a reliable way to load the marketplace despite the error.

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 Plugin marketplace fails with EFAULT on macOS 26 Tahoe [1 participants]