Skip to content

[Bug]: Installing Hermes Desktop broke iTerm disk access and nvm usage #57997

Description

@johnnyshankman

Bug Description

After installing Hermes Agent, my iTerm no longer had read access to any files on disk. After fixing that, my nvm CLI no longer worked anymore, causing me get stuck on node v22 indefinitely no matter what.

Steps to Reproduce

  1. Be iTerm user who uses nvm to manage their node versions / environment
  2. Install hermes agent using hermes desktop.

Expected Behavior

My iTerm session still has disk access. nvm still works as expected.

Actual Behavior

iTerm immediately loses disk access. Only solution is to toggle it in Privacy settings.

nvm no longer works. hermes symlinks are overriding its configuration and causing v22 to always be used.

Got to the bottom of this using Claude

Root cause in one line: your ~/.zshrc prepends ~/.local/bin to PATH after nvm loads, and ~/.local/bin/node|npm|npx are symlinks to the Claude/Hermes bundled Node v22 — so they shadow nvm's v24. The repo's .npmrc has engine-strict=true + engines.node >=24, so npm i running under the shadowed v22 hard-fails.

Affected Component

Setup / Installation

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/2QMUB
  agent.log    https://paste.rs/O7Gaw
  gui.log      https://paste.rs/Yxxja
  desktop.log  https://paste.rs/3qCeN

Operating System

macOS 14.8.3

Python Version

3.11.15

Hermes Version

0.18.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

Symlinking complications.

My personal fix:
Image

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/install-updateInstaller, updater, packaging, wheels, doctorarea/usage-costToken accounting, usage reporting, billing, cost trackingbugcomp/cliCLI entry point, hermes_cli/, setup wizardcomp/desktopElectron desktop app (apps/desktop/*)needs-reproBug needs reproduction stepstype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions