Failed to launch Claude Code: spawn claude ENOENT - with claude-flow swarm wizard
- Dominant language
- TypeScript
- Stars
- 72.7k
- Forks
- 8.6k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 83
Description
Problem: Run comand - claude-flow swarm "Review the code at a world class level"
Environment: Windows 11
IDE: VSC
Terminal: Git Bash
Command: claude-flow swarm wizard
Path - :/c/Users/jonat/AppData/Roaming/npm
and this is where the claude.cmd file is.
I am in the path of the repo when I execute the command.
Full message:
$ claude-flow swarm wizard
🐝 Launching Claude Flow Swarm System...
📋 Objective: Review the code at a world class level
🎯 Strategy: auto
🏗️ Mode: centralized
🤖 Max Agents: 5
🔓 Using --dangerously-skip-permissions by default for seamless swarm execution
✓ Claude Code launched with swarm coordination prompt!
🚀 The swarm coordination instructions have been injected into Claude Code
The prompt includes:
• Strategy-specific guidance for auto
• Coordination patterns for centralized mode
• Recommended agents and MCP tool usage
• Complete workflow documentation
❌ Failed to launch Claude Code: spawn claude ENOENT
Contributor guide
Research direction
Reproduce `claude-flow swarm wizard` on Windows 11 from Git Bash, using the reported npm path and `claude.cmd` location. Start by tracing the CLI's Claude Code process launch and verify that the command resolves successfully; done means the swarm wizard launches Claude Code without the `spawn claude ENOENT` error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100