Skip to content

vpx runs Unix binary on Windows instead of .cmd file #1651

@tobynguyen27

Description

@tobynguyen27

Describe the bug

When running vpx on Windows, it looks for extensionless binary first on all platforms (including Windows). Since that file exists, it returns the Unix script path and Windows can't run it. The .cmd fallback is never reached.

Reproduction

https://github.com/tobynguyen27/vpx-error/actions/runs/26212898208/job/77127912271

Steps to reproduce

Run vpx playwright install --with-deps on Windows or check the GitHub Actions CI

System Info

VITE+ - The Unified Toolchain for the Web

Environment:
  Version       24.15.0
  Source        engines.node
  Source Path   /home/toby/Workspace/vpx-error/package.json
  Project Root  /home/toby/Workspace/vpx-error

Tool Paths:
  node  /home/toby/.vite-plus/js_runtime/node/24.15.0/bin/node
  npm   /home/toby/.vite-plus/js_runtime/node/24.15.0/bin/npm
  npx   /home/toby/.vite-plus/js_runtime/node/24.15.0/bin/npx

VITE+ - The Unified Toolchain for the Web

vp v0.1.22

Local vite-plus:
  vite-plus  v0.1.21

Tools:
  vite             v8.0.11
  rolldown         v1.0.0
  vitest           v4.1.5
  oxfmt            v0.48.0
  oxlint           v1.63.0
  oxlint-tsgolint  v0.22.1
  tsdown           v0.22.0

Environment:
  Package manager  pnpm v11.1.2
  Node.js          v24.15.0 (engines.node)

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

Type

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions