T
TanStackthis hour
passive-yellow

request.headers.get is not a function

After updating to stable V1, got this error on my server with docker node:24-alpine: TypeError: request.headers.get is not a function at getOrigin (file:///usr/server/node_modules/@tanstack/router-core/dist/esm/ssr/ssr-server.js:109:40) ... 8 lines matching cause stack trace ... at Object.handler (file:///usr/server/chunks/nitro/nitro.mjs:1558:31) { cause: TypeError: request.headers.get is not a function at getOrigin (file:///usr/server/node_modules/@tanstack/router-core/dist/esm/ssr/ssr-server.js:109:40) at startRequestResolver (file:///usr/server/chunks/virtual/entry.mjs:1672:20) at file:///usr/server/chunks/virtual/entry.mjs:1279:13 at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:63:14) at Object.fetch (file:///usr/server/chunks/virtual/entry.mjs:1277:35) at fetch (file:///usr/server/chunks/virtual/entry.mjs:2132:21) at Object._webHandler [as handler] (file:///usr/server/chunks/virtual/entry.mjs:19:10) at Object.handler (file:///usr/server/chunks/nitro/nitro.mjs:1487:24) at Object.handler (file:///usr/server/chunks/nitro/nitro.mjs:1797:34) at Object.handler (file:///usr/server/chunks/nitro/nitro.mjs:1558:31), status: 500, statusText: undefined, headers: undefined, data: undefined, body: undefined, unhandled: true } Any ideas? @tanstack/react-start@1.132.48 @tanstack/react-router@1.132.47 Using npm
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?