-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Describe the bug
trying to install vp using the command irm https://vite.plus/ps1 | iex
the installer fails with the following error:
Setting up VITE+...
Invoke-Expression: Program 'vp.exe' failed to run: StandardOutputEncoding is only supported when standard output is redirected.At line:331 char:13
+ & "$BinDir\vp.exe" install --silent *> $installLog
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
I'm currently on windows 11 25h2 and here's my powershell $PSVersionTable
Name Value
---- -----
PSVersion 7.5.5
PSEdition Core
GitCommitId 7.5.5
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Reproduction
n/a
Steps to reproduce
- open a new powershell window on windows 11.
- run the following command:
irm https://vite.plus/ps1 | iex - observe the output in the terminal
System Info
n/aUsed Package Manager
pnpm
Logs
~ ❯ irm https://vite.plus/ps1 | iex 15:49:18
Setting up VITE+...
Invoke-Expression: Program 'vp.exe' failed to run: StandardOutputEncoding is only supported when standard output is redirected.At line:331 char:13
+ & "$BinDir\vp.exe" install --silent *> $installLog
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackPriority
None yet
Effort
None yet