-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Description
I tried to play with this setup and at start it was great. But as context grew bigger in cc session, hooks lost their way to executables. Basically, the whole session had to be binned as it became unusable. This happened on multiple new fresh sessions. Did anyone else came across this kind of issue?
Here is example from failing session
⏺ I can see the Storybook target just uses storybook dev without specifying a port. Let
me check what the default port is and then start Storybook to see what port it
actually uses:
⏺ Bash(cd shared && npx storybook dev --help | grep -A5 -B5 port)
⎿ Usage: storybook dev [options]
Options:
… +40 lines (ctrl+r to expand)
> Bash operation feedback:
- [uv run .claude/hooks/post_tool_use.py]: error: Failed to spawn:
`.claude/hooks/post_tool_use.py`
Caused by: No such file or directory (os error 2)
⏺ I see the issue. Storybook's default port is 6006, but the test-storybook is
configured to look at port 4400. Let me update the configuration to use the correct
port.
⏺ Update Todos
⎿ Error: TodoWrite operation blocked by hook:
- [uv run .claude/hooks/pre_tool_use.py]: error: Failed to spawn:
`.claude/hooks/pre_tool_use.py`
Caused by: No such file or directory (os error 2)
⏺ Update(project.json)
⎿ Error: Edit operation blocked by hook:
- [uv run .claude/hooks/pre_tool_use.py]: error: Failed to spawn:
`.claude/hooks/pre_tool_use.py`
Caused by: No such file or directory (os error 2)
⏺ I see there are hooks configured that are causing issues. Let me check the hooks
directory and then make the necessary changes:
⏺ List(../.claude)
⎿ Error: LS operation blocked by hook:
- [uv run .claude/hooks/pre_tool_use.py]: error: Failed to spawn:
`.claude/hooks/pre_tool_use.py`
Caused by: No such file or directory (os error 2)
gizix, NorfeldtKnowit, JohannesLauk and jvr0x
Metadata
Metadata
Assignees
Labels
No labels