-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi,
I tried the template-tanstack-start-clerk, and it crashes at the first request to localhost:3000 with :
template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17
- If the reference is present on multiple runtimes (isomorphic), you can use the Reference API to map the references.`);this.value=r}},y=class extends Error{constructor(e){super('Unsupported node type "'+e.t+'".')}}
<<a wall of minified JS>>
g [Error]: The value [object Response] of type "object" cannot be parsed/serialized.
There are few workarounds for this problem:
- Transform the value in a way that it can be serialized.
- If the reference is present on multiple runtimes (isomorphic), you can use the Reference API to map the references.
at G.parseObject (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:31059)
at G.parse (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:31430)
at G.parseProperties (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:32428)
at G.parsePlainObject (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:28700)
at G.parseObject (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:29897)
at G.parse (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:31430)
at G.parseItems (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:27974)
at G.parseArray (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:28031)
at G.parseObject (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:29705)
at G.parse (/convex/templates/template-tanstack-start-clerk/node_modules/.pnpm/seroval@1.3.2/node_modules/seroval/dist/esm/production/index.mjs:17:31430) {
{
value: Response {
routerCode: 'BEFORE_LOAD',
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: false,
requestIncludesCredentials: false,
type: 'default',
status: 307,
timingInfo: null,
cacheState: '',
statusText: '',
headersList: HeadersList {
cookies: [
'__clerk_redirect_count=1; SameSite=Lax; HttpOnly; Max-Age=3'
],
[Symbol(headers map)]: Map(5) {
'location' => {
name: 'location',
value: 'https://xxx.accounts.dev/v1/client/handshake?redirect_url=http%3A%2F%2Flocalhost%3A3000%2F&__clerk_api_version=2025-04-10&suffixed_cookies=false&__clerk_hs_reason=dev-browser-missing&format=nonce'
},
'cache-control' => { name: 'cache-control', value: 'no-store' },
'set-cookie' => {
name: 'Set-Cookie',
value: '__clerk_redirect_count=1; SameSite=Lax; HttpOnly; Max-Age=3'
},
'x-clerk-auth-reason' => { name: 'x-clerk-auth-reason', value: 'dev-browser-missing' },
'x-clerk-auth-status' => { name: 'x-clerk-auth-status', value: 'handshake' }
},
[Symbol(headers map sorted)]: null
},
urlList: []
},
[Symbol(headers)]: Headers {}
}
}
Node.js v22.11.0
ELIFECYCLE Command failed with exit code 1.
wasituf, mattiaseyram and benstokoematteozucchetti
Metadata
Metadata
Assignees
Labels
No labels