Skip to content

Fix plugin install EEXIST error#127

Open
hcherigui wants to merge 1 commit intotobi:mainfrom
hcherigui:fix/plugin-install-name-conflict
Open

Fix plugin install EEXIST error#127
hcherigui wants to merge 1 commit intotobi:mainfrom
hcherigui:fix/plugin-install-name-conflict

Conversation

@hcherigui
Copy link
Copy Markdown

Summary

  • Rename plugin from qmd to qmd-search in marketplace.json to fix EEXIST error during installation

The plugin name "qmd" conflicts with the qmd executable file at the repo root. When Claude Code installs the plugin, it creates the path cache/<marketplace>/<plugin-name>/ and copies repo contents into it. Since both the directory and the file are named qmd, mkdir fails with EEXIST.

Renaming the plugin to qmd-search avoids the conflict.

Error: Failed to install: EEXIST: file already exists, mkdir '/Users/houss/.claude/plugins/cache/qmd/qmd'

Fixes the issue reported in #99 by @klaascuvelier.

Test plan

  • Clean plugin cache (rm -rf ~/.claude/plugins/cache/qmd)
  • Apply the rename in local marketplace
  • /plugin install qmd-search@qmd → installs successfully
  • qmd status via MCP → works correctly

🤖 Generated with Claude Code

The plugin name "qmd" conflicts with the `qmd` executable file at the
repo root. When Claude Code installs the plugin, it tries to create
a directory `cache/qmd/qmd/` but fails because the `qmd` file already
exists at that path after cloning.

Rename the plugin from "qmd" to "qmd-search" to avoid the conflict.

Fixes the issue reported in tobi#99 by @klaascuvelier.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@klaascuvelier
Copy link
Copy Markdown

@tobi, would you mind taking a moment to review this PR?
I'd like to know if this is a change you support and if there’s any additional work we might need to do to get it merged eventually. Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants