Describe the bug
The current Homebrew installation for vite-plus does not work properly with vp env.
Problem
Installing vite-plus via Homebrew automatically installs node as a dependency. This appears to interfere with the vite-plus node shim resolution and causes vp env to behave incorrectly.
Expected Behavior
vp env should correctly resolve and use the vite-plus managed Node.js environment after installation via Homebrew.
Actual Behavior
The Homebrew-installed node dependency conflicts with the vite-plus shim setup, resulting in incorrect behavior when running: node
Reproduction
https://formulae.brew.sh/formula/vite-plus
Steps to reproduce
- Install vite-plus via homebrew,
brew install vite-plus
- Make sure
vp env is setting up
- Run
node --version or which node to verify if it's coming from vite-plus.
System Info
`vp env current`
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.15.0
Source lts
Tool Paths:
node /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/node
npm /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/npm
npx /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/npx
`vp --version`
VITE+ - The Unified Toolchain for the Web
vp v0.1.21
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager Not found
Node.js v24.15.0
`node --version`
v26.0.0
Used Package Manager
pnpm
Logs
Validations
Describe the bug
The current Homebrew installation for vite-plus does not work properly with
vp env.Problem
Installing vite-plus via Homebrew automatically installs node as a dependency. This appears to interfere with the vite-plus node shim resolution and causes vp env to behave incorrectly.
Expected Behavior
vp envshould correctly resolve and use the vite-plus managed Node.js environment after installation via Homebrew.Actual Behavior
The Homebrew-installed node dependency conflicts with the vite-plus shim setup, resulting in incorrect behavior when running:
nodeReproduction
https://formulae.brew.sh/formula/vite-plus
Steps to reproduce
brew install vite-plusvp envis setting upnode --versionorwhich nodeto verify if it's coming from vite-plus.System Info
Used Package Manager
pnpm
Logs
Validations