Skip to content

网站上创建claude对话,Process exited unexpectedly: Claude Code executable not found at C:\Users\a6318\AppData\Roaming\npm\node_modules\@anthropic-ai\claude-code\bin\claude. Is options.pathToClaudeCodeExecutable set? #790

@a6318539

Description

@a6318539

What version of HAPI is running?

最新版本

What platform is your computer?

windows

What issue are you seeing?

显示找的是Process exited unexpectedly: Claude Code executable not found at C:\Users\a6318\AppData\Roaming\npm\node_modules@anthropic-ai\claude-code\bin\claude. Is options.pathToClaudeCodeExecutable set?
并且我已经设置了环境变量HAPI_CLAUDE_PATH = "C:\Users\a6318\AppData\Roaming\npm\node_modules@anthropic-ai\claude-code\bin\claude.exe",通过hapi cli可以启动claude,网站上就不可以

What steps can reproduce the bug?

查看网站端创建会话找CLAUDE的调用方法

What is the expected behavior?

修复网站端的BUG

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions