Skip to content

Fix Node 22 desktop dev startup - #2245

Merged
ymichael merged 1 commit into
get-bb:mainfrom
Roystbeef:fix/desktop-dev-node22
Aug 25, 2026
Merged

Fix Node 22 desktop dev startup#2245
ymichael merged 1 commit into
get-bb:mainfrom
Roystbeef:fix/desktop-dev-node22

Conversation

@Roystbeef

@Roystbeef Roystbeef commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What was wrong

The supported Node 22 desktop development path loaded apps/host-daemon/src/command-dispatch.ts directly through TSX, but several host-daemon contracts were imported as runtime values even though they are TypeScript types. Those erased exports do not exist at runtime, so the source dev server session stalled before the Electron shell could launch.

What changed

  • Mark the affected host-daemon command contracts as type-only imports.
  • No host-daemon wire contract changed, so HOST_DAEMON_PROTOCOL_VERSION is unchanged.

How you verified

  • pnpm exec turbo run typecheck --filter=@bb/host-daemon
  • Ran pnpm dev:desktop with Node 22.22.1 and verified that the dev server and Electron desktop sessions both started successfully.

No linked issue.

AGENT GENERATED: by GPT-5.6

@Roystbeef
Roystbeef marked this pull request as ready for review August 21, 2026 19:25
@ymichael
ymichael merged commit 42d2c1b into get-bb:main Aug 25, 2026
12 checks passed
@Roystbeef
Roystbeef deleted the fix/desktop-dev-node22 branch August 25, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants