Cannot set headers after they are sent to the client
Sometime got this error when call getSession ( server function ) with tanstack Start
Looks like same as. => https://github.com/TanStack/router/issues/2837
1 Reply
equal-aqua•4mo ago
+1 - I ran in to the same issue starting today without changing any of my TSS code, but bumping to the latest TSS version
I hacked the vinxi package to solve this
In node_modules/vinxi/lib/dev-error.js
changed
to add the IF statement and have this: