memestheword
memestheword15h ago

The Tanstack start + clerk quick start is broken.

I'm receiving this error after scaffolding then running the dev server:
TypeError: serverEntry.default.fetch is not a function
at file:///Users/me/Sites/broken/node_modules/.pnpm/@tanstack+start-plugin-core@1.134.9_@tanstack+react-router@1.134.9_react-dom@19.2.0_rea_296b946d533fbbf48eec0f3268f36200/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:64:59
TypeError: serverEntry.default.fetch is not a function
at file:///Users/me/Sites/broken/node_modules/.pnpm/@tanstack+start-plugin-core@1.134.9_@tanstack+react-router@1.134.9_react-dom@19.2.0_rea_296b946d533fbbf48eec0f3268f36200/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:64:59
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
TypeError: serverEntry.default.fetch is not a function
at file:///Users/me/Sites/broken/node_modules/.pnpm/@tanstack+start-plugin-core@1.134.9_@tanstack+react-router@1.134.9_react-dom@19.2.0_rea_296b946d533fbbf48eec0f3268f36200/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:64:59
TypeError: serverEntry.default.fetch is not a function
at file:///Users/me/Sites/broken/node_modules/.pnpm/@tanstack+start-plugin-core@1.134.9_@tanstack+react-router@1.134.9_react-dom@19.2.0_rea_296b946d533fbbf48eec0f3268f36200/node_modules/@tanstack/start-plugin-core/dist/esm/dev-server-plugin/plugin.js:64:59
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Looks like there was a breaking change with clerk outlined here: https://www.answeroverflow.com/m/1420141142724448306
tanstack RC broke some code - TanStack
Below is the code ``` import { createStartHandler, defaultStreamHandler, defineHandlerCallback, } from "@tanstack/react-start/server"; import { createRouter } from "./router"; import { createClerkHandler } from "@clerk/tanstack-react-start/server"; const handlerFactory = createClerkHandler( createStartHandler({ createRouter }) ) expor...
1 Reply
Convex Bot
Convex Bot15h ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!

Did you find this page helpful?