[BUG] VSCode can't run Cypress (Error: Invalid or incompatible cached data)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I'm using nx with Cypress. I asked Claude Code in VSCode extension to run npx nx e2e project-name. No matter what I tried, it doesn't work.
Then I ran Claude Code in the terminal. It worked.
I asked claude to run cmd //c set (double slash required for git bash), and I saw that when it runs commands from the vscode ext, the env is different. I guess it breaks Cypress somehow.
Currently, I can't use the vscode extension. Maybe that's not too bad, it lacks other features like rewind. But I hope it will be fixed so I can use it in the future.
What Should Happen?
I guess it'd be best to run commands in a clean env.
Error Messages/Logs
Steps to Reproduce
Tricky. But asking claude to run cmd //c set is a good start.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.36
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗