Repository navigation
Description
Bug Description
Title: Desktop rebuild fails on main — @assistant-ui/tap missing ./react-shim export
Env: Windows, update via bootstrap --branch main, hermes@0.15.1,
@assistant-ui/tap@0.5.14, electron-v40.10.3.
vite build (apps/desktop) fails:
"./react-shim" is not exported under ["module","browser","production","import"]
from @assistant-ui/tap (exports field). The package (0.5.14) only exports
"." and "./react"; no react-shim file exists. Something in apps/desktop
imports @assistant-ui/tap/react-shim -> deterministic build failure (npm code 1).
Note: the installer then reports "Electron download blocked / retry via mirror" —
this is a misdiagnosis; the real failure is the module-resolution error above.
Repro: update to current main; cd apps/desktop && npm run pack.
Steps to Reproduce
Title: Desktop rebuild fails on main — @assistant-ui/tap missing ./react-shim export
Env: Windows, update via bootstrap --branch main, hermes@0.15.1,
@assistant-ui/tap@0.5.14, electron-v40.10.3.
vite build (apps/desktop) fails:
"./react-shim" is not exported under ["module","browser","production","import"]
from @assistant-ui/tap (exports field). The package (0.5.14) only exports
"." and "./react"; no react-shim file exists. Something in apps/desktop
imports @assistant-ui/tap/react-shim -> deterministic build failure (npm code 1).
Note: the installer then reports "Electron download blocked / retry via mirror" —
this is a misdiagnosis; the real failure is the module-resolution error above.
Repro: update to current main; cd apps/desktop && npm run pack.
Expected Behavior
Title: Desktop rebuild fails on main — @assistant-ui/tap missing ./react-shim export
Env: Windows, update via bootstrap --branch main, hermes@0.15.1,
@assistant-ui/tap@0.5.14, electron-v40.10.3.
vite build (apps/desktop) fails:
"./react-shim" is not exported under ["module","browser","production","import"]
from @assistant-ui/tap (exports field). The package (0.5.14) only exports
"." and "./react"; no react-shim file exists. Something in apps/desktop
imports @assistant-ui/tap/react-shim -> deterministic build failure (npm code 1).
Note: the installer then reports "Electron download blocked / retry via mirror" —
this is a misdiagnosis; the real failure is the module-resolution error above.
Repro: update to current main; cd apps/desktop && npm run pack.
Actual Behavior
Title: Desktop rebuild fails on main — @assistant-ui/tap missing ./react-shim export
Env: Windows, update via bootstrap --branch main, hermes@0.15.1,
@assistant-ui/tap@0.5.14, electron-v40.10.3.
vite build (apps/desktop) fails:
"./react-shim" is not exported under ["module","browser","production","import"]
from @assistant-ui/tap (exports field). The package (0.5.14) only exports
"." and "./react"; no react-shim file exists. Something in apps/desktop
imports @assistant-ui/tap/react-shim -> deterministic build failure (npm code 1).
Note: the installer then reports "Electron download blocked / retry via mirror" —
this is a misdiagnosis; the real failure is the module-resolution error above.
Repro: update to current main; cd apps/desktop && npm run pack.
Affected Component
Configuration (config.yaml, .env, hermes setup)
Messaging Platform (if gateway-related)
No response
Debug Report
Title: Desktop rebuild fails on main — @assistant-ui/tap missing ./react-shim export
Env: Windows, update via bootstrap --branch main, hermes@0.15.1,
@assistant-ui/tap@0.5.14, electron-v40.10.3.
vite build (apps/desktop) fails:
"./react-shim" is not exported under ["module","browser","production","import"]
from @assistant-ui/tap (exports field). The package (0.5.14) only exports
"." and "./react"; no react-shim file exists. Something in apps/desktop
imports @assistant-ui/tap/react-shim -> deterministic build failure (npm code 1).
Note: the installer then reports "Electron download blocked / retry via mirror" —
this is a misdiagnosis; the real failure is the module-resolution error above.
Repro: update to current main; cd apps/desktop && npm run pack.Operating System
windows 11
Python Version
No response
Hermes Version
No response
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
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
Activity
alt-glitch commentedon Jun 15, 2026
Duplicate of #45551 (hermes desktop build fails -- @assistant-ui/tap missing ./react-shim export). Same module-resolution failure. Open fix PR #45559 aliases
@assistant-ui/tap/react-shim-> react and bumps tsconfig; #46669 tracks the npm-dedup version-pin angle that installs 0.5.x instead of ^0.9.2.Ac31415 commentedon Jun 15, 2026
now the desktop app broke because of the latest update....
I wish there's a revert to last working update option through the desktop app.
scorpio-dot commentedon Jun 15, 2026
Yeah, Windows and Linux.
[rolldown:vite-resolve] plugin
rolldown:vite-resolvethrew an errorYonom commentedon Jun 17, 2026
(I work on assistant-ui) So sorry on our end for this, I just published a forwards compatible
@assistant-ui/tap@0.5.15that fixes this issue. I believe the main repo also pins the /store package now.teknium1 commentedon Jul 14, 2026
This is resolved on current
main; closing as an automated hermes-sweeper review.eae3836eb661732b4f3be88231a21d7a2fd66702pins@assistant-ui/storethrough the rootpackage.jsonoverride, preventing the incompatibletapdependency split.package-lock.jsonresolves@assistant-ui/store@0.2.13with hoisted@assistant-ui/tap@0.5.16(package-lock.json:422-444).tests/test_assistant_ui_tap_compat.py:97-130guards the dependency-cluster invariant, and.github/workflows/typecheck.yml:31-51runs the production desktop Vite build to catch this exact export-resolution failure.