#9831 `Error: Directory already exists and contains files that might conflict` on empty directory
Maintainer triaged - acknowledged misleading error and expressed willingness to support running C3 in existing empty directory. Dual-labeled as bug+enhancement. No fix merged yet.
No action needed - properly triaged with maintainer engagement
Analysis Report
Issue Review: cloudflare/workers-sdk#9831
Summary
C3 (create-cloudflare) shows misleading error about conflicting files when user tries to create a project in an existing empty directory using .
Findings
- Created: 2025-07-02
- Updated: 2025-07-03
- Version: create-cloudflare@2.50.2 → 2.62.3 (current)
- Component: create-cloudflare (C3)
- Labels: bug, enhancement, c3
- Comments: 2
Key Evidence
- Maintainer has triaged: Pete Bacon Darwin (maintainer) responded on 2025-07-03 acknowledging:
- The error message is "slightly wrong" - it says "contains files that might conflict" but the real issue is that C3 requires it to create the directory itself
- He expressed willingness to support this use case: "I think we should consider supporting your case above"
- Dual nature: Issue is correctly labeled as both
bug(misleading error message) andenhancement(support for running in pre-existing empty directory) - No fix merged: No PR references fixing this issue, and issue #9831 is not mentioned in the changelog
- Prior related work: PR #4226 (merged Oct 2023) relaxed the check to allow
.git,.DS_Store, etc., but didn't address the case of running C3 in an existing empty directory
Recommendation
Status: KEEP OPEN
Reasoning: This is a legitimate issue that a maintainer has acknowledged and expressed interest in addressing. The issue captures two valid concerns: (1) a misleading error message (bug), and (2) a UX improvement request to support running C3 in an existing empty directory (enhancement). No fix has been merged yet.
Action: No action needed - issue is properly triaged with maintainer engagement.
Notes & Feedback (0)
No notes yet.