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 — Homebrew installation breaks vp env due to bundled Node.js dependency · Issue #1572 · voidzero-dev/vite-plus

Homebrew installation breaks vp env due to bundled Node.js dependency #1572

New issue
Copy link
New issue
Copy link
Closed
Bug
#1631
Closed
Homebrew installation breaks vp env due to bundled Node.js dependency#1572
Bug
#1631
Copy link
Assignees
leohara
Labels
contribution welcome
Milestone
Beta

Description

@chungweileong94
chungweileong94
opened on May 14, 2026
Issue body actions

Describe the bug

The current Homebrew installation for vite-plus does not work properly with vp env.

Problem

Installing vite-plus via Homebrew automatically installs node as a dependency. This appears to interfere with the vite-plus node shim resolution and causes vp env to behave incorrectly.

Expected Behavior

vp env should correctly resolve and use the vite-plus managed Node.js environment after installation via Homebrew.

Actual Behavior

The Homebrew-installed node dependency conflicts with the vite-plus shim setup, resulting in incorrect behavior when running: node

Reproduction

https://formulae.brew.sh/formula/vite-plus

Steps to reproduce

  • Install vite-plus via homebrew, brew install vite-plus
  • Make sure vp env is setting up
  • Run node --version or which node to verify if it's coming from vite-plus.

System Info

`vp env current`

VITE+ - The Unified Toolchain for the Web

Environment:
  Version  24.15.0
  Source   lts

Tool Paths:
  node  /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/node
  npm   /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/npm
  npx   /Users/chungwei/.vite-plus/js_runtime/node/24.15.0/bin/npx


`vp --version`

VITE+ - The Unified Toolchain for the Web

vp v0.1.21

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  Not found
  Node.js          v24.15.0


`node --version`

v26.0.0

Used Package Manager

pnpm

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.

Activity

  1. chungweileong94
    added the
    Bug
    issue type on May 14, 2026
  2. chungweileong94
    added
    pending triage
    on May 14, 2026
  3. fengmk2
    added this to the Beta milestone on May 18, 2026
  4. fengmk2
    added
    contribution welcome
    on May 18, 2026
  5. github-actions
    removed
    pending triage
    on May 18, 2026
  6. leohara commented on May 19, 2026

    @leohara
    leohara
    on May 19, 2026
    Contributor
    More actions

    @fengmk2

    I'd like to work on this.

    It looks like vp env setup always points shims to ../current/bin/vp, but Homebrew installs vp elsewhere. I plan to make the shims fall back to the current vp binary when ../current/bin/vp doesn't exist, then add a regression test.

    Does that scope sound right?

    Reacted by MK (fengmk2), JongKyung Lee and Chung Wei Leong
  7. fengmk2
    assigned
    leohara
    on May 19, 2026
  8. leohara commented on May 19, 2026

    @leohara
    leohara
    on May 19, 2026
    Contributor
    More actions

    @fengmk2 @chungweileong94
    I opened a PR for this: #1631

    While working on this, I noticed that package binary shims created by vp install -g also currently use the ../current/bin/vp Unix target. If maintainers prefer, I can either expand this PR to cover those shims as well, or open a separate follow-up PR for that change!

  9. fengmk2
    added a commit that references this issue on May 24, 2026

    fix(cli): make env shims use the active vp executable (#1631)

    This issue will close once commit de5f8d9 is merged into the 'main' branch.
    de5f8d9
  10. fengmk2
    closed this as completedin #1631on May 24, 2026
  11. liangmiQwQ
    added a commit that references this issue on May 26, 2026

    fix(cli): make env shims use the active vp executable (voidzero-dev#1631

    This issue will close once commit 55fddda is merged into the 'main' branch.
    55fddda
  12. fengmk2 commented on Jun 1, 2026

    @fengmk2
    fengmk2
    on Jun 1, 2026
    Member
    More actions

    @leohara Have you verified whether the Homebrew issue has been resolved after the release of version 0.1.23?

  13. leohara commented on Jun 1, 2026

    @leohara
    leohara
    on Jun 1, 2026
    Contributor
    More actions

    @fengmk2
    Yes, I verified the fix against v0.1.23, but not through brew install yet because Homebrew stable still installs vite-plus 0.1.22 on my machine.

    I downloaded the v0.1.23 macOS arm64 release asset and tested it in a Homebrew-style layout where vp lives outside VP_HOME.

    Verification summary:

    vp --version
    # vp v0.1.23
    
    VP_HOME=/tmp/vp-home ./vp env setup
    
    readlink /tmp/vp-home/bin/node
    # /tmp/.../vp
    
    readlink /tmp/vp-home/bin/vp
    # /tmp/.../vp

    With Homebrew's Node still present:

    /opt/homebrew/bin/node --version
    # v26.0.0
    
    PATH="/tmp/vp-home/bin:/opt/homebrew/bin:$PATH" node --version
    # v24.16.0
    
    vp env which node
    # /tmp/vp-home/js_runtime/node/24.16.0/bin/node
    

    Once the Homebrew formula is bumped to v0.1.23, I can re-run the same check with brew install vite-plus directly.

    Reacted by MK (fengmk2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @leohara
    leohara

Labels

contribution welcome

Type

Bug

Fields

Priority

None yet

Effort

None yet

Target date

None yet

Start date

None yet

Projects

No projects

    Milestone

    • Beta

    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.