Vite+
Vite+, the unified toolchain for the web
Approve Builds#
When package installation requires manual approval for build scripts, run:
This effectively runs pnpm approve-builds in the current project through Vite+.
Common Options#
Notes#
--all: approve all pending dependencies without prompts-g: approve dependencies for global packages- For commands like this, prefer
vp exec -cinstead of calling the package manager directly
Windows: vp Will Not Start Over ssh#
On Windows 11 24H2 and later, running vp after logging in over SSH fails with:
.vite-plus\bin\vp.exe is a forwarder that hands off to current\bin\vp.exe, and current is
a junction that an SSH session cannot traverse. To confirm, bypass current and call the real
version directory — if that runs, this is the problem:
Rebuilding current with mklink /J fixes it; removing the link leaves the version directory
untouched:
A vite-plus upgrade recreates current itself, so this may need repeating afterwards.
Installing dependencies is a separate matter — pnpm's node_modules is built from a large
number of junctions that an SSH session cannot read, so vp bootstrapping its dependencies is
bound to fail (the log lands in <version dir>\install.log). Install and upgrade locally or
over RDP.
See the windows page for the background and the full diagnosis.