GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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" #1017

New issue
Copy link
New issue
Copy link
Closed
Bug
#3005
Closed
Windows PowerShell installer fails with "The property 'error' cannot be found on this object"#1017
Bug
#3005
Copy link
Assignees
fengmk2
Labels
bugSomething isn't working

Description

@ninjin-sirisiri
ninjin-sirisiri
opened on Mar 18, 2026
Issue body actions

Describe 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

  1. Open PowerShell on Windows

  2. Run:

    irm https://vite.plus/ps1 | iex
  3. 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

  • 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.

Activity

  1. ninjin-sirisiri
    added the
    Bug
    issue type on Mar 18, 2026
  2. kazupon commented on Mar 19, 2026

    @kazupon
    kazupon
    on Mar 19, 2026
    Collaborator
    More actions

    Thank you for your reporting!

    We need the PowerShell version to fix this issue.
    Could you give us your PowerShell version please? 🙏

  3. ninjin-sirisiri commented on Mar 19, 2026

    @ninjin-sirisiri
    ninjin-sirisiri
    on Mar 19, 2026
    Author
    More actions

    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

  4. ninjin-sirisiri commented on Mar 19, 2026

    @ninjin-sirisiri
    ninjin-sirisiri
    on Mar 19, 2026
    Author
    More actions

    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

  5. Boshen commented on May 18, 2026

    @Boshen
    Boshen
    on May 18, 2026
    Member
    More actions

    Please let us know if this still fails.

  6. Boshen
    closed this as completedon May 18, 2026
  7. atakiya commented on Oct 11, 2026

    @atakiya
    atakiya
    on Oct 11, 2026
    More actions

    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

  8. fengmk2
    reopened this on Oct 12, 2026
  9. fengmk2
    self-assigned this
    on Oct 12, 2026
  10. fengmk2
    added
    bugSomething isn't working
    on Oct 12, 2026
  11. fengmk2 commented on Oct 12, 2026

    @fengmk2
    fengmk2
    on Oct 12, 2026
    Member
    More actions

    I have reproduced this issue and will fix it as soon as possible.

  12. fengmk2 commented on Oct 12, 2026

    @fengmk2
    fengmk2
    on Oct 12, 2026
    Member
    More actions

    @atakiya #3005 (comment) Can you take a try the preview build version?

  13. atakiya commented on Oct 12, 2026

    @atakiya
    atakiya
    on Oct 12, 2026
    More actions

    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.

  14. fengmk2
    closed this as completedin ae0ec12on Oct 13, 2026
  15. fengmk2
    added a commit that references this issue on Oct 13, 2026

    fix(install): support PowerShell strict mode (#3005)

    This issue will close once commit ae0ec12 is merged into the 'main' branch.
    ae0ec12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @fengmk2
    fengmk2

Labels

bugSomething isn't working

Type

Bug

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.