Skip to content

Cannot find command in PATH #27

Description

@MuTsunTsai

I'm on Windows. No matter what provider I use, it shows me something like this (using Gemini for example)

Image

In the correct encoding, the error message reads:

Error: '"node"' 不是內部或外部命令、可執行的程式或批次檔。

Which means '"node" is not a command'. However node of course is in my PATH, I use it every day.

I've tried Use Shell For Cli, with no difference.

If I explicitly specify the full path, say C:\Users\XXXX\.local\bin\claude.exe, it will work for Claude Code. But doing the same for Gemini (which is really a node.js script) is quite troublesome.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions