Skip to content

[Bug] Desktop build fails: "./react-shim" not exported from @assistant-ui/tap (macOS, v0.16.0) #46692

Closed as not planned

Description

@iwsat

Environment

  • OS: macOS (Apple Silicon / arm64)
  • Hermes CLI: v0.16.0 (2026.6.5)
  • Node.js: v22.22.3 / npm 10.9.8
  • Install method: curl installer

Describe the bug
Desktop build fails during vite build with the following error:

Activity

  1. added
    type/bugSomething isn't working
    comp/tuiTerminal UI (ui-tui/ + tui_gateway/)
    P2Medium — degraded but workaround exists
    duplicateThis issue or pull request already exists
    on Jun 15, 2026
  2. alt-glitch commented on Jun 15, 2026

    @alt-glitch

    Duplicate of #45551 — same desktop build failure: @assistant-ui/tap missing the ./react-shim export (npm dedup pins an old tap version). Tracked there alongside fix PR #45559 and the dedup version-pin issue #46669.

  3. alex-soft-pl commented on Jun 15, 2026

    @alex-soft-pl

    same on macOS, v0.16.0, M-series, fresh install

  4. Yonom commented on Jun 17, 2026

    @Yonom

    (I work on assistant-ui) So sorry on our end for this, I just published a forwards compatible @assistant-ui/tap@0.5.15 that fixes this issue. I believe the main repo also pins the /store package now.

  5. iwsat commented on Jun 17, 2026

    @iwsat
    Author

    @Yonom Thank you for the quick fix! Confirming this is resolved on my end.

    After syncing my local checkout to the latest main (which now pins
    @assistant-ui/store so the cluster shares a single @assistant-ui/tap,
    0.5.14 with the ./react-shim export present), the desktop app builds
    successfully again.

    Same environment as the original report:

    • macOS (Apple Silicon / arm64)
    • Hermes CLI v0.16.0
    • Node.js v22.22.3 / npm 10.9.8

    Closing as fixed. Thanks again to everyone who jumped on this so fast.

  6. added
    comp/desktopElectron desktop app (apps/desktop/*)
    dependenciesPull requests that update a dependency file
    and removed
    duplicateThis issue or pull request already exists
    comp/tuiTerminal UI (ui-tui/ + tui_gateway/)
    on Jun 26, 2026
  7. alt-glitch commented on Jun 26, 2026

    @alt-glitch

    This was generated by AI during triage.
    Not a duplicate (the canonical #45551 is now closed). This is the same @assistant-ui/tap ./react-shim npm-dedup build failure tracked across #45551 / #46677 / #46697. assistant-ui shipped a forwards-compatible tap@0.5.15 and main now pins the working version — confirmed resolved by the reporter. Related-linking for navigation.

  8. teknium1 commented on Jul 14, 2026

    @teknium1
    Collaborator

    This is an automated hermes-sweeper review: the reported build failure is no longer reproducible from the current dependency graph.

    • eae3836eb661732b4f3be88231a21d7a2fd66702 (fix(desktop): pin @assistant-ui/store so the cluster shares one tap) addressed this exact ./react-shim Vite export failure.
    • Current package.json:40 retains the @assistant-ui/store: 0.2.13 override.
    • Current package-lock.json:422-444 resolves store 0.2.13 with tap ^0.5.14, and locks a single @assistant-ui/tap 0.5.16.
    • This matches the reporter's June 17 confirmation that the desktop build succeeded after syncing to main.

    Thanks for the detailed macOS report and confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/desktopElectron desktop app (apps/desktop/*)dependenciesPull requests that update a dependency fileduplicateThis issue or pull request already existssweeper:cannot-reproduceSweeper: could not reproduce on current maintype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions