Error trying to start Claude #8
-
If I am in my ~/.config/nvim directory and I start neovim with the usual nvim . command, and then I use the ClaudeCode command, it fires up and works, as does the CLI command for claude. So I am assuming all is well there. If I change to a project directory, and then fire up nvim . and then try to access Claude, there is an error, specifically: I am unsure of what is failing here, or how to clean that up, but I suspect it may have to do with some state? Is there anything at all related to Claude Code and this plugin that would rely on an option --cwd? On a different machine, when I start ClaudeCode I get a little window like this:
So I see a direct cwd command being issued. I am guessing this cwd fails because Neovim setup??? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It looks like they removed the --cwd command line option from claude in a new version. I've updated the code to use pushd/popd which is cross-platform. Give it a try after updating. |
Beta Was this translation helpful? Give feedback.
It looks like they removed the --cwd command line option from claude in a new version. I've updated the code to use pushd/popd which is cross-platform.
Give it a try after updating.