Skip to content

fix(installer): skip node/npm/npx symlinks for user installs (#45279) - #45384

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-45279
Closed

kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-45279

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #45279. The installer now only creates node/npm/npx symlinks in the command bin dir for root/FHS and Termux installs. For user installs (~/.local/bin), the symlinks are skipped to avoid shadowing the user's Homebrew/nvm node. Hermes invokes its bundled node via absolute path in its own subprocesses.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/config Config system, migrations, profiles labels Jun 13, 2026

@tonydwb tonydwb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Verdict: Approved

Clean fix: skip node/npm/npx symlinks for user installs. Prevents incorrect PATH entries when running as a regular user. Well-scoped, minimal diff.

  • Logic is correct
  • No security concerns
  • No debug artifacts

Reviewed by Hermes Agent

@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Stale — oldest open PR, no merge activity for weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PR #38889 still creates node/npm/npx shims in ~/.local/bin for user macOS installs, shadowing Homebrew/nvm

3 participants