Skip to content

fix(install): create ~/.hermes before moving Node.js directory - #53

Merged
teknium1 merged 2 commits into
NousResearch:mainfrom
JoshuaMart:fix/install
Feb 26, 2026
Merged

fix(install): create ~/.hermes before moving Node.js directory#53
teknium1 merged 2 commits into
NousResearch:mainfrom
JoshuaMart:fix/install

Conversation

@JoshuaMart

Copy link
Copy Markdown
Contributor

Fix for #50

When Node.js is not installed on the system, install_node() attempts to move the extracted tarball to ~/.hermes/node/. However, ~/.hermes is only created later in main() by copy_config_templates(), causing the following error:

→ Extracting to ~/.hermes/node/...
mv: cannot move '/tmp/tmp.IzTuDRmjih/node-v22.22.0-linux-x64' to '/root/.hermes/node': No such file or directory

Add mkdir -p "$HERMES_HOME" in install_node() before the mv call, so the destination directory always exists regardless of execution order.

@teknium1
teknium1 merged commit 1d04074 into NousResearch:main Feb 26, 2026
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
fix(install): create ~/.hermes before moving Node.js directory
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
fix(install): create ~/.hermes before moving Node.js directory
Meraniya pushed a commit to Meraniya/hermes-agent that referenced this pull request Aug 6, 2026
…usResearch#53)

* fix(ci): address Codex PR NousResearch#50 P1/P2 findings in auto-merge-prs.yml

* fix(ci): address Codex PR NousResearch#50 P1/P2 findings in ci-auto-fix.yml

* fix(ci): address Codex PR NousResearch#50 P1/P2 findings in ci-auto-healer.yml

* fix(ci): address Codex PR NousResearch#50 P1/P2 findings in ci-escalation-detector.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants