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
sudo-yf pushed a commit to sudo-yf/hermes-agent that referenced this pull request Apr 5, 2026
fix(ci): Docker tag extraction for 2-part versions (v0.29)
sudo-yf pushed a commit to sudo-yf/hermes-agent that referenced this pull request Apr 5, 2026
Use v(\d+\.\d+(?:\.\d+)?) instead of v(.*) to only match real
version numbers (v0.29, v0.29.1), not arbitrary strings.
Keep latest unconditional since all tag pushes are releases.

Based on review of PR NousResearch#52 approach vs NousResearch#53.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
fix(install): create ~/.hermes before moving Node.js directory
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
fix(install): create ~/.hermes before moving Node.js directory
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