-
Notifications
You must be signed in to change notification settings - Fork 128
Description
Describe the bug
I'm using Vite+ on Windows and I'm trying to ensure my Vite+ installation is properly setup by fixing the errors and warnings vp env doctor gives me.
I was expecting to be able to get rid of all the warnings and errors, but I can't seem to be able to get rid of "note: For best results, bin should be first in PATH".
Upon seeing this warning, I noticed that the C:\Users\andre\.vite-plus\bin was put at the bottom of my path in the system variables and I was getting this:
Then I moved it to the top. I also added C:\Users\andre\.vite-plus\bin to the user's env vars and put it at the top.
But then I was getting:
This was just a warning, so I ignored it when I installed it. However, today I was running some Vite+ commands and I was getting:
Moving C:\Users\andre\.vite-plus\bin to the bottom of both the user's and system's Path variable seems to have fixed it, but vp env doctor still warns about "note: For best results, bin should be first in PATH".
At this point, I'm not sure if I should ignore the warning, or there is in fact something wrong with my installation.
Reproduction
No runnable reproduction
Steps to reproduce
- Install Vite+ on Windows via the command provided
irm https://vite.plus/ps1 | iex - Run
vp env doctorand see the warning saying a high position for the command with a note "note: For best results, bin should be first in PATH" - Move the
C:\Users\andre\.vite-plus\binto be first inPathboth for the user's and system's variable. - Restart the computer
- See all
vpcommands fail with "vite-plus: failed to execute C:\Users\andre.vite-plus\current\bin\vp.exe" - Move
C:\Users\andre\.vite-plus\bindown to be last in bothPathvariables vpcommands work again
System Info
$ vp env current
VITE+ - The Unified Toolchain for the Web
Environment:
Version 24.14.1
Source lts
Tool Paths:
node C:\Users\andre\.vite-plus\js_runtime\node\24.14.1\node.exe
npm C:\Users\andre\.vite-plus\js_runtime\node\24.14.1\npm.cmd
npx C:\Users\andre\.vite-plus\js_runtime\node\24.14.1\npx.cmd
$ vp --version
VITE+ - The Unified Toolchain for the Web
vp v0.1.14
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 npm v11.12.0
Node.js v24.14.1Used Package Manager
npm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackPriority
Effort