Describe the bug
Fresh installation via curl -fsSL https://vite.plus | bash fails silently, no error is shown to the user, but the installation is incomplete.
node_modules is never created, ~/.vite-plus/bin/ is never set up, and vp is not added to PATH.
The direct trigger in my case was pnpm's minimumReleaseAge setting (configured in my global ~/.config/pnpm/rc), which blocked installing the recently-published vite-plus package. However, the underlying issue is that install.sh runs vp install --silent (line 580), which suppresses all error output.
When this step fails, set -e aborts the script and all subsequent setup steps are skipped, with no feedback to the user about what went wrong
Reproduction
No URL
Steps to reproduce
local reproduction
- Ensure pnpm global config has minimum-release-age=1440 (or any setting that would cause pnpm install to fail for a recently-published package):
# Check: cat ~/.config/pnpm/rc
minimum-release-age=144
- Clean any existing installation:
rm -rf ~/.vite-plus
- Run:
curl -fsSL https://vite.plus | bash
- Observe no error is shown, but installation is incomplete:
ls ~/.vite-plus/bin/ # No such file or directory
ls ~/.vite-plus/current # No such file or directory
ls ~/.vite-plus/env # No such file or directory
ls ~/.vite-plus/*/node_modules/ # No such file or directory
- Running the binary directly shows the consequence:
Error: Cannot find module '.../.vite-plus/<version>/node_modules/vite-plus/dist/bin.js'
To see the actual error that --silent hides, run pnpm manually against the generated wrapper package.json:
cd ~/.vite-plus/0.1.11
npx pnpm@10.32.1 install
# ERR_PNPM_NO_MATURE_MATCHING_VERSION Version 0.1.11 (released X hours ago)
# of vite-plus does not meet the minimumReleaseAge constraint
System Info
OS: macOS (Darwin 24.5.0, arm64)
Shell: zsh
Node.js: v24.14.0
pnpm (auto-selected by installer): v10.32.1
vite-plus version: 0.1.11
Used Package Manager
pnpm
Logs
Validations
Describe the bug
Fresh installation via
curl -fsSL https://vite.plus | bashfails silently, no error is shown to the user, but the installation is incomplete.node_modulesis never created, ~/.vite-plus/bin/ is never set up, and vp is not added to PATH.The direct trigger in my case was pnpm's minimumReleaseAge setting (configured in my global
~/.config/pnpm/rc), which blocked installing the recently-published vite-plus package. However, the underlying issue is that install.sh runs vp install --silent (line 580), which suppresses all error output.When this step fails, set -e aborts the script and all subsequent setup steps are skipped, with no feedback to the user about what went wrong
Reproduction
No URL
Steps to reproduce
local reproduction
rm -rf ~/.vite-pluscurl -fsSL https://vite.plus | bashTo see the actual error that
--silenthides, run pnpm manually against the generated wrapperpackage.json:System Info
Used Package Manager
pnpm
Logs
Validations