hermes - 💡(How to fix) Fix Web UI build fails after update: @nous-research/[email protected] breaks ButtonProps (ghost, size, outlined, destructive removed)

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…

Error Message

  1. The build error is caught by _run_with_idle_timeout (idle timeout 180s), and the stale web_dist is served as a fallback src/App.tsx(492,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps' src/App.tsx(513,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps' src/components/ChatSidebar.tsx(327,13): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps' src/components/ModelPickerDialog.tsx(224,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps' src/pages/SystemPage.tsx(1041,21): error TS2322: Property 'size' does not exist on type 'IntrinsicAttributes & ButtonProps' src/pages/WebhooksPage.tsx(39,7): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps' src/pages/SessionsPage.tsx(588,11): error TS2322: Property 'outlined' does not exist on type 'IntrinsicAttributes & ButtonProps' src/pages/PluginsPage.tsx(521,17): error TS2322: Property 'destructive' does not exist on type 'IntrinsicAttributes & ButtonProps' src/lib/utils.ts(1,39): error TS2307: Cannot find module 'clsx'

Root Cause

After running hermes update, the Web UI build fails with 150+ TypeScript errors. The root cause is that @nous-research/ui was bumped from 0.16.0 to 0.18.2, which introduced a breaking change to ButtonProps — the properties ghost, size, outlined, and destructive were removed from the type, but the web frontend source code still uses them extensively.

Code Example

src/App.tsx(492,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/App.tsx(513,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/components/ChatSidebar.tsx(327,13): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/components/ModelPickerDialog.tsx(224,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/SystemPage.tsx(1041,21): error TS2322: Property 'size' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/WebhooksPage.tsx(39,7): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/SessionsPage.tsx(588,11): error TS2322: Property 'outlined' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/PluginsPage.tsx(521,17): error TS2322: Property 'destructive' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/lib/utils.ts(1,39): error TS2307: Cannot find module 'clsx'
RAW_BUFFERClick to expand / collapse

Bug Description

After running hermes update, the Web UI build fails with 150+ TypeScript errors. The root cause is that @nous-research/ui was bumped from 0.16.0 to 0.18.2, which introduced a breaking change to ButtonProps — the properties ghost, size, outlined, and destructive were removed from the type, but the web frontend source code still uses them extensively.

Additionally, src/lib/utils.ts reports Cannot find module 'clsx' (TS2307).

The build falls back to a stale web_dist, so the CLI itself still works, but the web UI is not updated.

Steps to Reproduce

  1. Run hermes update
  2. Git pull succeeds, Python deps install, npm install succeeds (797 packages)
  3. During the "Building web UI..." stage, tsc -b fails
  4. The build error is caught by _run_with_idle_timeout (idle timeout 180s), and the stale web_dist is served as a fallback

Expected Behavior

Web UI build should pass cleanly, reflecting the updated UI library.

Actual Behavior

src/App.tsx(492,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/App.tsx(513,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/components/ChatSidebar.tsx(327,13): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/components/ModelPickerDialog.tsx(224,11): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/SystemPage.tsx(1041,21): error TS2322: Property 'size' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/WebhooksPage.tsx(39,7): error TS2322: Property 'ghost' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/SessionsPage.tsx(588,11): error TS2322: Property 'outlined' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/pages/PluginsPage.tsx(521,17): error TS2322: Property 'destructive' does not exist on type 'IntrinsicAttributes & ButtonProps'
src/lib/utils.ts(1,39): error TS2307: Cannot find module 'clsx'

Affected files (10+): App.tsx, ChatSidebar.tsx, ChatPage.tsx, ConfigPage.tsx, CronPage.tsx, EnvPage.tsx, McpPage.tsx, ModelsPage.tsx, ProfilesPage.tsx, SessionsPage.tsx, SkillsPage.tsx, SystemPage.tsx, WebhooksPage.tsx, etc.

Environment

  • Hermes Agent: v0.15.1 (commit 7583aedac, installed via hermes update from source)
  • @nous-research/ui: 0.18.2 (installed in web workspace)
  • OS: Linux x86_64
  • Node: v24.16.0
  • npm: 11.13.0

Additional Context

The v0.15.1 release notes mention "@nous-research/ui bumped to 0.18.2", but the web source code was not updated to match the new ButtonProps API. Searched the issue tracker for ButtonProps, ghost, size — no existing reports found. This is the first report.

The TypeScript compilation produces ~150 errors total across 10+ component/page files. The clsx type declaration issue (TS2307) may be related or a separate packaging issue.

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