hermes - ✅(Solved) Fix [Bug]: Web UI build fails on Windows: 'rm' command not recognized [1 pull requests, 2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#24827Fetched 2026-05-14 03:51:27
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Participants
Timeline (top)
labeled ×3commented ×2cross-referenced ×2

Error Message

  1. The build fails with the error: 'rm' is not recognized as an internal or external command. It fails with the error as the following: I prefer not to upload the full debug report for privacy reasons. However, the core issue is a platform compatibility error during the web UI build process.

Additional Logs / Traceback (optional)

Root Cause

When attempting to build the Web UI (via hermes dashboard or manual build), the process fails on Windows because the build script uses the Unix-specific rm command to clean directories.

Fix Action

Fixed

PR fix notes

PR #25090: fix(web): use Node.js for sync-assets instead of Unix rm/cp

Description (problem / solution / changelog)

Summary

sync-assets used Unix rm which is not available on Windows CMD/PowerShell, causing the web UI build to fail with 'rm is not recognized'.

Replace with a small Node.js script (web/scripts/sync-assets.js) that uses Node.js built-in fs APIs for cross-platform file operations.

Changes

  • web/scripts/sync-assets.js (new): ESM script that replicates the sync-assets logic
  • web/package.json: Updated sync-assets script to call node scripts/sync-assets.js

Closes #25073

Changed files

  • web/package.json (modified, +1/-1)
  • web/scripts/sync-assets.js (added, +34/-0)

Code Example

I prefer not to upload the full debug report for privacy reasons. However, the core issue is a platform compatibility error during the web UI build process.

---
RAW_BUFFERClick to expand / collapse

Bug Description

When attempting to build the Web UI (via hermes dashboard or manual build), the process fails on Windows because the build script uses the Unix-specific rm command to clean directories.

Steps to Reproduce

  1. Run hermes dashboard in Powershell
  2. The build fails with the error: 'rm' is not recognized as an internal or external command.

Expected Behavior

The process should have built a web dashboard.

Actual Behavior

It fails with the error as the following: <img width="822" height="135" alt="Image" src="https://github.com/user-attachments/assets/3b175717-9044-429e-b7ab-36a96ca50504" />

Affected Component

Tools (terminal, file ops, web, code execution, etc.)

Messaging Platform (if gateway-related)

No response

Debug Report

I prefer not to upload the full debug report for privacy reasons. However, the core issue is a platform compatibility error during the web UI build process.

Operating System

Windows 11

Python Version

3.12.10

Hermes Version

0.13.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

I think that's because Powershell doesn't recognize the rm command, unlike Unix-like system. When I run it on Git Bash, everything goes well.

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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: Web UI build fails on Windows: 'rm' command not recognized [1 pull requests, 2 comments, 2 participants]