Repository navigation
Description
Bug Description
After updating Hermes to v0.16.0, the Desktop application disappeared and could not be rebuilt.
Hermes CLI works correctly.
Gateway works correctly.
Only the Desktop GUI build fails.
The build consistently fails with:
"./react-shim" is not exported under the conditions ["module", "browser", "production", "import"] from package @assistant-ui/tap
The issue occurs during:
npm --workspace apps/desktop run pack
Desktop builds successfully on commit ff5652d but fails on bee1381.
Steps to Reproduce
- Install or update Hermes to v0.16.0 (bee1381).
- Run Hermes Setup or build Desktop manually.
- Execute:
npm --workspace apps/desktop run pack
- Observe build failure during Vite/Rolldown dependency resolution.
Expected Behavior
Desktop application should build successfully and produce Hermes.exe.
Actual Behavior
Build fails during Vite build stage with:
[rolldown:vite-resolve] plugin rolldown:vite-resolve threw an error
Caused by:
"./react-shim" is not exported under the conditions
["module", "browser", "production", "import"]
from package @assistant-ui/tap
As a result, apps/desktop/release/win-unpacked/Hermes.exe is not generated.
Affected Component
Setup / Installation
Messaging Platform (if gateway-related)
N/A (CLI only)
Debug Report
Admin@AORUS MINGW64 ~
$ hermes debug share
⚠️ This will upload the following to a public paste service:
• System info (OS, Python version, Hermes version, provider, which API keys
are configured — NOT the actual keys)
• Recent log lines (agent.log, errors.log, gateway.log, desktop.log — may
contain conversation fragments and file paths)
• Full agent.log, gateway.log, and desktop.log (up to 512 KB each — likely
contains conversation content, tool outputs, and file paths)
Pastes auto-delete after 6 hours.
Collecting debug report...
Uploading...
Debug report uploaded:
Report https://paste.rs/ZMJhE
agent.log https://paste.rs/fRde8
gateway.log https://paste.rs/Vfd5p
desktop.log https://paste.rs/ut4PX
⏱ Pastes will auto-delete in 6 hours.
To delete now: hermes debug delete <url>
Share these links with the Hermes team for support.Operating System
Windows 11
Python Version
3.11.9
Hermes Version
Hermes Agent v0.16.0 (2026.6.5) · upstream bee1381
Additional Logs / Traceback (optional)
Build output:
[rolldown:vite-resolve] plugin `rolldown:vite-resolve` threw an error
Caused by:
"./react-shim" is not exported under the conditions
["module", "browser", "production", "import"]
from package:
node_modules/@assistant-ui/tap
Manual build command:
npm --workspace apps/desktop run pack
Result:
Build fails on commit bee13817.
Workaround:
Desktop builds successfully on commit ff5652d0f63c after:
rm -rf node_modules
npm install
npm --workspace apps/desktop run pack
Hermes.exe is generated and launches correctly on ff5652d0f63c.Root Cause Analysis (optional)
Regression between ff5652d and bee1381.
Desktop build succeeds on ff5652d after clean npm install.
Desktop build fails on bee1381 with @assistant-ui/tap react-shim export resolution error.
Proposed Fix (optional)
The issue appears to be a dependency/version mismatch involving @assistant-ui/tap and the Desktop build toolchain (Vite/Rolldown).
Possible fix:
- Pin a compatible version of @assistant-ui/tap.
- Verify package exports for "./react-shim".
- Add CI validation to ensure apps/desktop can be built from a clean checkout before release.
The regression appears between ff5652d (working) and bee1381 (failing).
Are you willing to submit a PR for this?
- I'd like to fix this myself and submit a PR
Activity
alt-glitch commentedon Jun 15, 2026
Duplicate of #45551 — same desktop build failure:
@assistant-ui/tapresolves to 0.5.x (missing./react-shimexport) instead of ^0.9.x, breaking the Vite/Rolldown build. Tracking the fix on #45551 (see also fix PRs #45559, #46688).ethernet8023 commentedon Jun 15, 2026
closed by #46707