Skip to content

[Bug]: Web UI build fails on Windows: 'rm' command not recognized #24827

@HsiYuGit

Description

@HsiYuGit

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:
Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havecomp/tuiTerminal UI (ui-tui/ + tui_gateway/)sweeper:implemented-on-mainSweeper: behavior already present on current maintype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions