philP
Convex Community4w ago
4 replies
phil

Tanstack start & better auth Error: No StartEvent found in AsyncLocalStorage

Hey I was following the recently updated guide at https://convex-better-auth.netlify.app/framework-guides/tanstack-start

however after doing this I'm getting the following error when developing locally:

Error: No StartEvent found in AsyncLocalStorage. Make sure you are using the function within the server runtime. at getH3Event 


It seems to be an issue with the getAuth function as described here:
https://convex-better-auth.netlify.app/framework-guides/tanstack-start#set-up-root-route

Does anyone know what could be the issue?
Install and configure Convex + Better Auth for TanStack Start.
Was this page helpful?