claude-code-templates icon indicating copy to clipboard operation
claude-code-templates copied to clipboard

EEXIST: file already exists

Open FrankDeWitt opened this issue 5 months ago • 2 comments

Despite running the command npx claude-code-templates@latest in a clean project or making sure to delete all traces of Claude, when it comes to creating files, it says:

🚀 Setup Claude Code for javascript-typescript with vue (6 commands) (9 hooks) (4 MCP)? ✅ Yes, proceed with setup
⠋ Copying template files...📥 Downloading templates from GitHub (main branch)...
⠼ Copying template files...✓ Downloaded javascript-typescript/CLAUDE.md → CLAUDE.md
⠋ Copying template files...✓ Downloaded base configuration and commands javascript-typescript/.claude → .claude
✗ Failed to copy javascript-typescript/.claude/settings.json: EEXIST: file already exists, mkdir '/Users/franciscojose.salvador/code/my-bingel-wrapper/.claude/settings.json'
✖ Failed to copy template files
Error: EEXIST: file already exists, mkdir '/Users/franciscojose.salvador/code/my-bingel-wrapper/.claude/settings.json'
Image

Although it creates files, when I want to run the Health check option, it always tells me: Health Score: 18/22 checks passed (82%)

FrankDeWitt avatar Aug 01 '25 09:08 FrankDeWitt

Yeah I'm getting the same error in a new project as well.

mgunnin avatar Aug 04 '25 12:08 mgunnin

+1

zacczakk avatar Aug 04 '25 13:08 zacczakk