Skip to content

Looking for /usr/bin/bash in Windows. #730

@Laksiri

Description

@Laksiri

I had Serena working properly on VS Code and Claude Code (in Windows) up until yesterday (Nov-06). I m getting this error since today. Is Windows compatibility not supported anyone?

This totally could be my local issue. If someone can point me to the correct direction, that would be really appreciated.

PS D:\vibe\habit_app\stoa> claude --debug
[DEBUG] Using bash path: "C:\Program Files\Git\bin\bash.exe"
[DEBUG] Writing to temp file: C:\Users\laksi.claude.json.tmp.8312.1762566859060
[DEBUG] Preserving file permissions: 100666
[DEBUG] Temp file written successfully, size: 331187 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming C:\Users\laksi.claude.json.tmp.8312.1762566859060 to C:\Users\laksi.claude.json
[DEBUG] File C:\Users\laksi.claude.json written atomically
[DEBUG] MCP server "serena": Starting connection attempt
[ERROR] MCP server "serena" Server stderr: /usr/bin/bash: Files\Git\bin\bash.exe: No such file or directory
[DEBUG] MCP server "serena": Connection failed: McpError: MCP error -32000: Connection closed
[DEBUG] MCP server "serena": Error message: MCP error -32000: Connection closed
[DEBUG] MCP server "serena": Error stack: McpError: MCP error -32000: Connection closed
at new zV (B:/~BUN/root/claude.exe:1277:10572)
at _onclose (B:/~BUN/root/claude.exe:1277:12664)
at (B:/~BUN/root/claude.exe:1277:11984)
at (B:/~BUN/root/claude.exe:1279:1464)
at emit (node:events:98:22)
at #maybeClose (node:child_process:758:16)
at emit (node:events:92:22)
at emitCloseNT (internal:streams/destroy:78:14)
at processTicksAndRejections (native:7:39)
at spawnSync (unknown)
[ERROR] MCP server "serena" Connection failed: MCP error -32000: Connection closed
[DEBUG] MCP server "serena": Connection attempt completed in 182ms - status: failed
[DEBUG] Creating shell snapshot for bash (C:\Program Files\Git\bin\bash.exe)
[DEBUG] Shell config file not found: C:\Users\laksi.bashrc, creating snapshot with Claude Code defaults only
[DEBUG] Creating snapshot at: C:\Users\laksi.claude\shell-snapshots\snapshot-bash-1762566859497-2nyvaa.sh
[DEBUG] Writing to temp file: C:\Users\laksi.claude\todos\70902719-980b-423d-a40c-739b697eebfc-agent-70902719-980b-423d-a40c-739b697eebfc.json.tmp.8312.1762566859570
[DEBUG] Temp file written successfully, size: 2 bytes
[DEBUG] Renaming C:\Users\laksi.claude\todos\70902719-980b-423d-a40c-739b697eebfc-agent-70902719-980b-423d-a40c-739b697eebfc.json.tmp.8312.1762566859570 to C:\Users\laksi.claude\todos\70902719-980b-423d-a40c-739b697eebfc-agent-70902719-980b-423d-a40c-739b697eebfc.json
[DEBUG] File C:\Users\laksi.claude\todos\70902719-980b-423d-a40c-739b697eebfc-agent-70902719-980b-423d-a40c-739b697eebfc.json written atomically
[DEBUG] Shell snapshot created successfully (1327 bytes)
[DEBUG] Writing to temp file: C:\Users\laksi.claude.json.tmp.8312.1762566860651
[DEBUG] Preserving file permissions: 100666
[DEBUG] Temp file written successfully, size: 331187 bytes
[DEBUG] Applied original permissions to temp file
[DEBUG] Renaming C:\Users\laksi.claude.json.tmp.8312.1762566860651 to C:\Users\laksi.claude.json
[DEBUG] File C:\Users\laksi.claude.json written atomically
[DEBUG] Executing hooks for SessionStart:startup
[DEBUG] Getting matching hook commands for SessionStart with query: startup
[DEBUG] Found 0 hook matchers in settings
[DEBUG] Matched 0 unique hooks for query "startup" (0 before deduplication)
[DEBUG] Found 0 hook commands to execute

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions