Skip to content

fix(env): vp env doctor doesn't verify the vpx shim #880

@MahmoodKhalil57

Description

@MahmoodKhalil57

Description

vp env setup creates shims for ["node", "npm", "npx", "vpx"] (setup.rs:24), but vp env doctor only checks ["node", "npm", "npx"] (doctor.rs:25).

This means a missing or broken vpx shim is invisible to the doctor — it reports "All checks passed" even when vpx isn't set up correctly. The PATH verification section (line 373) also skips vpx.

Expected behavior

vp env doctor should check all shims that vp env setup creates, including vpx.

Location

  • crates/vite_global_cli/src/commands/env/doctor.rs:25SHIM_TOOLS missing "vpx"
  • crates/vite_global_cli/src/commands/env/setup.rs:24SHIM_TOOLS includes "vpx"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions