chorus icon indicating copy to clipboard operation
chorus copied to clipboard

Validation failed: gemini.cmd --version exited null.

Open kogu1988 opened this issue 6 months ago • 2 comments

What happened?

paste the path: C:\Users*username*\AppData\Roaming\npm\gemini.cmd Validation failed: gemini.cmd --version exited null.

Image

Output of chorus doctor

▶ Chorus doctor

  CLI detection

    ✓ claude     C:\Users\*username*\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude-code\2.1.128\claude.exe (manual)
    ✗ codex      not found
    ✗ gemini     not found
    ✗ opencode   not found
    ✗ kimi       not found

  PATH visibility

    daemon PATH:      41 dirs (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\bin;C:\Program Files\NV…)
    captured shell:   not captured yet — run chorus init or chorus start

  Manual overrides

    ✓ claude     C:\Users\*username*\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude-code\2.1.128\claude.exe

  Next steps

    • Visit http://127.0.0.1:5050/onboarding → "I know where it is"
      to paste a path for any missing CLI.
    • Or run chorus stop && chorus start from your usual terminal so
      we re-capture the PATH that has the CLI.

Chorus version

0.8.34

Operating system

Windows

Node version

v22.18.0

Logs / errors


Prerequisites

  • [x] I searched existing issues for duplicates
  • [x] I'm running the latest published version (or main)

kogu1988 avatar May 10 '26 20:05 kogu1988

Thanks for the report @oguzkir — confirmed and root-caused. This is the same Windows .cmd shim spawn issue ElRaxy's PR #21 fixed for the reviewer path, but it slipped in two other places: the manual-path validator (verifyRunnable in cli-detect.ts) and the new diagnose smoke (smokeOneCli in diagnose.ts).

Both spawnSync(bin, ['--version']) without shell: true — Node's spawn can't execute .cmd / .bat files directly on Windows (DEP0190). Fix incoming in v0.8.35.

chorus-codes avatar May 11 '26 03:05 chorus-codes

Fix merged to main in #33. Holding the npm publish until 1-2 more fixes accumulate (per release cadence). Once v0.8.35 ships I'll comment back here — should be in a day or two.

If you want the fix immediately, you can clone main and run pnpm install && pnpm build && pnpm build:server && node bin/chorus.mjs start. Otherwise, watch this issue.

chorus-codes avatar May 11 '26 03:05 chorus-codes