[GH-ISSUE #114] Path issue in windows doesn't mount the repo correctly #39

Closed
opened 2026-02-27 07:20:07 +03:00 by kerem · 8 comments
Owner

Originally created by @ezl-keygraph on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/114

If its a windows machine then MSYS_NO_PATHCONV=1 before docker compose in https://github.com/KeygraphHQ/shannon/blob/main/shannon#L213

https://discord.com/channels/1423863500379525222/1442631463504969858/1470724916847313120

Image
Originally created by @ezl-keygraph on GitHub (Feb 10, 2026). Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/114 If its a windows machine then MSYS_NO_PATHCONV=1 before docker compose in https://github.com/KeygraphHQ/shannon/blob/main/shannon#L213 https://discord.com/channels/1423863500379525222/1442631463504969858/1470724916847313120 <img width="2451" height="1039" alt="Image" src="https://github.com/user-attachments/assets/7878e91b-aa87-4b15-8d65-f8cb6945e6b8" />
kerem closed this issue 2026-02-27 07:20:07 +03:00
Author
Owner

@neowc commented on GitHub (Feb 11, 2026):

For my case of running under windows (VScode gitbash terminal), I did clone my code repo to local folder inside shannon folder,
./shannon start URL=https://your-app.com REPO=your-repo-folder-name

Then I did a check on repo if passed in properly in my modified shannon script at #line141,

case "$REPO" in
/benchmarks/|/target-repo|/target-repo/)
CONTAINER_REPO="$REPO"
;;
*)
# Host path - verify repo exists under ./repos/
if [ ! -d "./repos/$REPO" ]; then
echo "ERROR: Repository not found at ./repos/$REPO"
exit 1
fi
export TARGET_REPO="./repos/$REPO"
CONTAINER_REPO="/target-repo"
;;
esac

Then try install @anthropic-ai/claude-code at #line116 of Dockerfile,

RUN npm ci &&
cd mcp-server && npm ci && cd .. &&
npm cache clean --force &&
npm install -g @anthropic-ai/claude-code

so far it works fine for me thanks

<!-- gh-comment-id:3881881732 --> @neowc commented on GitHub (Feb 11, 2026): For my case of running under windows (VScode gitbash terminal), I did clone my code repo to local folder inside shannon folder, `./shannon start URL=https://your-app.com REPO=your-repo-folder-name` Then I did a check on repo if passed in properly in my modified shannon script at #line141, > case "$REPO" in /benchmarks/*|/target-repo|/target-repo/*) CONTAINER_REPO="$REPO" ;; *) # Host path - verify repo exists under ./repos/ if [ ! -d "./repos/$REPO" ]; then echo "ERROR: Repository not found at ./repos/$REPO" exit 1 fi export TARGET_REPO="./repos/$REPO" CONTAINER_REPO="/target-repo" ;; esac Then try install @anthropic-ai/claude-code at #line116 of Dockerfile, > RUN npm ci && \ cd mcp-server && npm ci && cd .. && \ npm cache clean --force && \ npm install -g @anthropic-ai/claude-code so far it works fine for me thanks
Author
Owner

@ezl-keygraph commented on GitHub (Feb 11, 2026):

@neowc Can you confirm if placing the repo inside the ./repos folder in shannon solved the issues without using MSYS_NO_PATHCONV=1?

<!-- gh-comment-id:3882649487 --> @ezl-keygraph commented on GitHub (Feb 11, 2026): @neowc Can you confirm if placing the repo inside the `./repos` folder in shannon solved the issues without using `MSYS_NO_PATHCONV=1`?
Author
Owner

@klass-723 commented on GitHub (Feb 11, 2026):

We use Symlinks on Windows WSL, and it worked for us

Symlink your repo

ln -s ~/projects/REPONAME repos/REPONAME

Then we added this in docker-compose.yml
Whatever your repo is on your machine. Yours will be different than mine

  • /home/USER/projects/REPONAME:/repos/REPONAME # ADD THIS
<!-- gh-comment-id:3884563330 --> @klass-723 commented on GitHub (Feb 11, 2026): We use Symlinks on Windows WSL, and it worked for us # Symlink your repo ln -s ~/projects/REPONAME repos/REPONAME Then we added this in docker-compose.yml Whatever your repo is on your machine. Yours will be different than mine - /home/USER/projects/REPONAME:/repos/REPONAME # ADD THIS
Author
Owner

@neowc commented on GitHub (Feb 11, 2026):

@neowc Can you confirm if placing the repo inside the ./repos folder in shannon solved the issues without using MSYS_NO_PATHCONV=1?

hi @ezl-keygraph if remove MSYS_NO_PATHCONV=1 the path mangling still cause the Claude Code spawn error(below pic).

line #228: this will work
MSYS_NO_PATHCONV=1 docker compose -f "$COMPOSE_FILE" $COMPOSE_OVERRIDE exec -T worker
node dist/temporal/client.js "$URL" "$CONTAINER_REPO" $ARGS

Image
<!-- gh-comment-id:3885356215 --> @neowc commented on GitHub (Feb 11, 2026): > [@neowc](https://github.com/neowc) Can you confirm if placing the repo inside the `./repos` folder in shannon solved the issues without using `MSYS_NO_PATHCONV=1`? hi @ezl-keygraph if remove `MSYS_NO_PATHCONV=1` the path mangling still cause the Claude Code spawn error(below pic). > line #228: this will work **MSYS_NO_PATHCONV=1** docker compose -f "$COMPOSE_FILE" $COMPOSE_OVERRIDE exec -T worker \ node dist/temporal/client.js "$URL" "$CONTAINER_REPO" $ARGS <img width="1800" height="558" alt="Image" src="https://github.com/user-attachments/assets/ac0460ba-5aa3-4be5-9c37-7240edce9796" />
Author
Owner

@ezl-keygraph commented on GitHub (Feb 11, 2026):

@neowc I think you are not on the latest version of shannon because currently we only support if the target repo is inside the ./repos folder in shannon. Correct me if I'm wrong

<!-- gh-comment-id:3885425436 --> @ezl-keygraph commented on GitHub (Feb 11, 2026): @neowc I think you are not on the latest version of shannon because currently we only support if the target repo is inside the `./repos` folder in shannon. Correct me if I'm wrong
Author
Owner

@neowc commented on GitHub (Feb 11, 2026):

@neowc I think you are not on the latest version of shannon because currently we only support if the target repo is inside the ./repos folder in shannon. Correct me if I'm wrong

hi @ezl-keygraph i just did a fresh setup & pull of the latest version, and also placed the target repo inside the ./repos folder in shannon, however the issue still encounter (see pics below)

Before without MSYS_NO_PATHCONV=1

Image

After add MSYS_NO_PATHCONV=1 at line #229

Image
<!-- gh-comment-id:3885667499 --> @neowc commented on GitHub (Feb 11, 2026): > [@neowc](https://github.com/neowc) I think you are not on the latest version of shannon because currently we only support if the target repo is inside the `./repos` folder in shannon. Correct me if I'm wrong hi @ezl-keygraph i just did a fresh setup & pull of the latest version, and also placed the target repo inside the ./repos folder in shannon, however the issue still encounter (see pics below) Before without `MSYS_NO_PATHCONV=1` <img width="1811" height="829" alt="Image" src="https://github.com/user-attachments/assets/28515b30-7309-416d-94b1-63d12bfb151f" /> After add `MSYS_NO_PATHCONV=1` at line #229 <img width="1809" height="806" alt="Image" src="https://github.com/user-attachments/assets/27999637-0b18-483b-99d1-547fbdb929a2" />
Author
Owner

@ezl-keygraph commented on GitHub (Feb 11, 2026):

Thanks for sharing @neowc, appreciate it

<!-- gh-comment-id:3885956439 --> @ezl-keygraph commented on GitHub (Feb 11, 2026): Thanks for sharing @neowc, appreciate it
Author
Owner

@ezl-keygraph commented on GitHub (Feb 13, 2026):

Temporary workaround
https://github.com/KeygraphHQ/shannon/issues/130#issuecomment-3897045082

<!-- gh-comment-id:3897057311 --> @ezl-keygraph commented on GitHub (Feb 13, 2026): Temporary workaround https://github.com/KeygraphHQ/shannon/issues/130#issuecomment-3897045082
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#39
No description provided.