You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Session fails to start with Error: posix_spawnp failed #66
Claude Code Web should successfully start a Claude session and open an interactive terminal in the browser when a working directory is selected.
Current Behavior
Session fails to start with Error: posix_spawnp failed when node-pty attempts to spawn the claude subprocess. The error occurs even when claude is symlinked to /usr/local/bin/claude.
Possible Solution
The node-pty native module may be compiled against a different Node version than the one currently active under nvm. Running npm rebuild node-pty from the claude-code-web install directory may resolve the issue. Alternatively, allowing users to specify a full path to the claude binary in config would bypass PATH resolution issues entirely.
Steps to Reproduce
Install claude-code-web globally via npm using nvm-managed Node (v22.17.0)
Install Claude Code and confirm claude is accessible in the terminal via which claude
Start claude-code-web and open the web interface
Select a working directory and attempt to start a session
Environment
Darwin Davids-Personal-MacBook-Pro.local 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:07:05 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6020 arm64
Checklists
### Issue Creation
- [ ] I have filled in all the required information above
- [ ] I have added this issue to the Roadmap project
- [ ] I have given the issue appropriate labels
### Commencement
- [ ] I am starting work on this issue
- [ ] I have understood the issue and clarified anything required
- [ ] I have assigned the issue to myself
- [ ] I have marked the issue as 'In Progress' in the Roadmap Project
Activity