claude-code-templates
claude-code-templates copied to clipboard
EEXIST: file already exists
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'
Although it creates files, when I want to run the Health check option, it always tells me: Health Score: 18/22 checks passed (82%)
Yeah I'm getting the same error in a new project as well.
+1