GeezerVison is showing github.com — Windows PowerShell installer fails with "The property 'error' cannot be found on this object" · Issue #1017 · voidzero-dev/vite-plus
Windows PowerShell installer fails with "The property 'error' cannot be found on this object" #1017Labels bugSomething isn't working DescriptionDescribe the bug
The official Windows install command fails during setup:
irm https://vite.plus/ps1 | iex
It prints:
Setting up VITE+...
Invoke-Expression: The property 'error' cannot be found on this object. Verify that the property exists.
Because this happens while running the documented install command, I could not complete installation.
Reproduction
Not available yet.
Steps to reproduce
-
Open PowerShell on Windows
-
Run:
irm https://vite.plus/ps1 | iex
-
Observe the installer output
System Info
Please let me know if you want me to provide more detailed environment info.
I can also test a version-pinned install command if that helps narrow it down.
Used Package Manager
npm
Logs
PS C:\Users\user> irm https://vite.plus/ps1 | iex
Setting up VITE+...
Invoke-Expression: The property 'error' cannot be found on this object. Verify that the property exists.
Validations
Activitykazupon commented on Mar 19, 2026 Thank you for your reporting!
We need the PowerShell version to fix this issue.
Could you give us your PowerShell version please? 🙏 ninjin-sirisiri commented on Mar 19, 2026 The version of PowerShell is 7.5.4.
Name Value
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
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 ninjin-sirisiri commented on Mar 19, 2026 Updating to the latest version didn't make any difference.
Name Value
PSVersion 7.6.0
PSEdition Core
GitCommitId 7.6.0
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0 Boshen commented on May 18, 2026 Please let us know if this still fails. atakiya commented on Oct 11, 2026
5. Please let us know if this still fails.
Not OP but recently installed Vite+ and seems like it still fails on Powershell Core, see below:
nu> ~ pwsh
PowerShell 7.6.6
PS C:\Users\atakiya> irm https://vite.plus/ps1 | iex
ParentContainsErrorRecordException:
Line |
167 | if ($script:PackageMetadata.error) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The property 'error' cannot be found on this object. Verify that the property exists.
PS C:\Users\atakiya> $PSVersionTable
Name Value
---- -----
PSVersion 7.6.6
PSEdition Core
GitCommitId 7.6.6
OS Microsoft Windows 10.0.26300
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PS C:\Users\atakiya>
Currently working around by using the Windows-built-in Powershell 5.1 fengmk2 commented on Oct 12, 2026 I have reproduced this issue and will fix it as soon as possible. fengmk2 commented on Oct 12, 2026 atakiya commented on Oct 12, 2026
13. @atakiya #3005 (comment) Can you take a try the preview build version?
Yep, that one works on both 5.1 and strict-mode enabled 7.6.6! Nice catch on the latter. added a commit that references this issue on Oct 13, 2026This issue will close once commit ae0ec12 is merged into the 'main' branch.ae0ec12
MetadataMetadatabugSomething isn't working DevelopmentNo branches or pull requestsIssue actions
|