Skip to content

Fix Node 22 desktop dev startup - #2245

Open
Roystbeef wants to merge 1 commit into
get-bb:mainfrom
Roystbeef:fix/desktop-dev-node22
Open

Fix Node 22 desktop dev startup#2245
Roystbeef wants to merge 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
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.

1 participant