TanStack Start + Clerk Template Broken - fails on Node 22 and Node 24/25
Hi! I created a new project using the Convex CLI and selected TanStack Start with Clerk. The dev server fails to start on both Node.js versions.
Environment:
- Created with: Convex CLI (TanStack Start + Clerk template)
- Package manager: pnpm
- OS: macOS
Versions from generated package.json:
@clerk/tanstack-react-start: ^0.27.10
@tanstack/react-start: ^1.141.3
convex: ^1.31.0
Error on Node.js 24/25:
TypeError: Cannot read private member #state from an object whose class did not declare it
at get redirect (node:internal/deps/undici/undici:10736:21)
at patchRequest (@clerk/tanstack-react-start/src/server/utils/index.ts:65:23)
Node 24+ uses undici 7.x with strict private class fields that can't be accessed through Proxies.
Error on Node.js 22:
TypeError: Cannot read properties of undefined (reading 'redirect')
at get redirect (node:internal/deps/undici/undici:10108:29)
at patchRequest (@clerk/tanstack-react-start/src/server/utils/index.ts:65:23)
Both errors come from Clerk's patchRequest function in @clerk/tanstack-react-start.
Is there a working combination of Node.js version and package versions for this template?
Is there a working combination of Node.js version and package versions for the TanStack Start + Clerk template?
