Skip to content

vp installation fails on windows 11 25h2, pwsh 7.5.5 #1019

@mridxl

Description

@mridxl

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

  1. open a new powershell window on windows 11.
  2. run the following command: irm https://vite.plus/ps1 | iex
  3. observe the output in the terminal

System Info

n/a

Used 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions