tanstackStartCookies breaks Tanstack Start Nitro (Bun) build #2633

Closed
opened 2026-03-13 10:09:38 -05:00 by GiteaMirror · 23 comments
Owner

Originally created by @EliasGit117 on GitHub (Dec 30, 2025).

Originally assigned to: @bytaesu on GitHub.

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Build of Tanstack Start breaks with usage of 'tanstackStartCookies' plugin. Removing the plugin fixes the issue.

bun run preview
$ bun .output/server/index.mjs
➜ Listening on: http://localhost:3000/ (all interfaces)
181 |     status: 404,
182 |     message: `Cannot find any route matching [${event.req.method}] ${event.url}`
183 |   });
184 |   if (val && val instanceof Error) {
185 |     const isHTTPError = HTTPError.isError(val);
186 |     const error = isHTTPError ? val : new HTTPError(val);
                                                ^
error: attachRouterServerSsrUtils is not defined
     status: 500,
 statusText: undefined,
    headers: undefined,
       data: undefined,
       body: undefined,
  unhandled: true,

      at /Users/eliassmith/Dev/Projects/abyssal-rachel/.output/server/chunks/_/server.mjs:186:43

54 | }
55 | const serverCk1Xxp7t = /* @__PURE__ */ Object.freeze({
56 |   __proto__: null,
57 |   HEADERS,
58 |   StartServer,
59 |   attachRouterServerSsrUtils,
       ^
ReferenceError: attachRouterServerSsrUtils is not defined
      at /Users/eliassmith/Dev/Projects/abyssal-rachel/.output/server/chunks/_/server-Ck1Xxp7t.mjs:59:3

Current vs. Expected behavior

Should work properly, instead it breaks the build

What version of Better Auth are you using?

1.4.9

System info

~/Dev/Projects/abyssal-rachel git:[main]
npx @better-auth/cli info --json
{
  "system": {
    "platform": "darwin",
    "arch": "arm64",
    "version": "Darwin Kernel Version 25.1.0: Mon Oct 20 19:33:36 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6030",
    "release": "25.1.0",
    "cpuCount": 11,
    "cpuModel": "Apple M3 Pro",
    "totalMemory": "18.00 GB",
    "freeMemory": "0.14 GB"
  },
  "node": {
    "version": "v25.2.1",
    "env": "development"
  },
  "packageManager": {
    "name": "npm",
    "version": "11.6.2"
  },
  "frameworks": [
    {
      "name": "react",
      "version": "^19.2.0"
    }
  ],
  "databases": [
    {
      "name": "@prisma/client",
      "version": "^7.2.0"
    }
  ],
  "betterAuth": {
    "version": "^1.4.9",
    "config": {
      "emailAndPassword": {
        "enabled": true
      },
      "plugins": [
        {
          "name": "tanstack-start-cookies",
          "config": {
            "id": "tanstack-start-cookies",
            "hooks": {
              "after": [
                {}
              ]
            }
          }
        },
        {
          "name": "better-auth-localization",
          "config": {
            "id": "better-auth-localization",
            "hooks": {
              "after": [
                {}
              ]
            }
          }
        }
      ]
    }
  }
}

Which area(s) are affected? (Select all that apply)

Backend

Auth config (if applicable)

import { betterAuth } from "better-auth";
import { prismaAdapter } from "better-auth/adapters/prisma";
import { prisma } from '@/lib/prisma.ts';
import { tanstackStartCookies } from "better-auth/tanstack-start";
import { localization } from "better-auth-localization";
import { getLocale } from '@/paraglide/runtime';


export const auth = betterAuth({
  database: prismaAdapter(prisma, {
    provider: "postgresql",
  }),
  emailAndPassword: {
    enabled: true,
  },
  plugins: [
    tanstackStartCookies(),
    localization({
      defaultLocale: "ro-RO",
      fallbackLocale: "ro-RO",
      getLocale: () => {
        const locale = getLocale();
        switch (locale) {
          case "ro":
            return "ro-RO";
          case "ru":
            return "ru-RU";
          default:
            return "ro-RO"
        }
      }
    })
  ]
});

Additional context

No response

Originally created by @EliasGit117 on GitHub (Dec 30, 2025). Originally assigned to: @bytaesu on GitHub. ### Is this suited for github? - [ ] Yes, this is suited for github ### To Reproduce Build of Tanstack Start breaks with usage of 'tanstackStartCookies' plugin. Removing the plugin fixes the issue. ``` bun run preview $ bun .output/server/index.mjs ➜ Listening on: http://localhost:3000/ (all interfaces) 181 | status: 404, 182 | message: `Cannot find any route matching [${event.req.method}] ${event.url}` 183 | }); 184 | if (val && val instanceof Error) { 185 | const isHTTPError = HTTPError.isError(val); 186 | const error = isHTTPError ? val : new HTTPError(val); ^ error: attachRouterServerSsrUtils is not defined status: 500, statusText: undefined, headers: undefined, data: undefined, body: undefined, unhandled: true, at /Users/eliassmith/Dev/Projects/abyssal-rachel/.output/server/chunks/_/server.mjs:186:43 54 | } 55 | const serverCk1Xxp7t = /* @__PURE__ */ Object.freeze({ 56 | __proto__: null, 57 | HEADERS, 58 | StartServer, 59 | attachRouterServerSsrUtils, ^ ReferenceError: attachRouterServerSsrUtils is not defined at /Users/eliassmith/Dev/Projects/abyssal-rachel/.output/server/chunks/_/server-Ck1Xxp7t.mjs:59:3 ``` ### Current vs. Expected behavior Should work properly, instead it breaks the build ### What version of Better Auth are you using? 1.4.9 ### System info ```bash ~/Dev/Projects/abyssal-rachel git:[main] npx @better-auth/cli info --json { "system": { "platform": "darwin", "arch": "arm64", "version": "Darwin Kernel Version 25.1.0: Mon Oct 20 19:33:36 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6030", "release": "25.1.0", "cpuCount": 11, "cpuModel": "Apple M3 Pro", "totalMemory": "18.00 GB", "freeMemory": "0.14 GB" }, "node": { "version": "v25.2.1", "env": "development" }, "packageManager": { "name": "npm", "version": "11.6.2" }, "frameworks": [ { "name": "react", "version": "^19.2.0" } ], "databases": [ { "name": "@prisma/client", "version": "^7.2.0" } ], "betterAuth": { "version": "^1.4.9", "config": { "emailAndPassword": { "enabled": true }, "plugins": [ { "name": "tanstack-start-cookies", "config": { "id": "tanstack-start-cookies", "hooks": { "after": [ {} ] } } }, { "name": "better-auth-localization", "config": { "id": "better-auth-localization", "hooks": { "after": [ {} ] } } } ] } } } ``` ### Which area(s) are affected? (Select all that apply) Backend ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth"; import { prismaAdapter } from "better-auth/adapters/prisma"; import { prisma } from '@/lib/prisma.ts'; import { tanstackStartCookies } from "better-auth/tanstack-start"; import { localization } from "better-auth-localization"; import { getLocale } from '@/paraglide/runtime'; export const auth = betterAuth({ database: prismaAdapter(prisma, { provider: "postgresql", }), emailAndPassword: { enabled: true, }, plugins: [ tanstackStartCookies(), localization({ defaultLocale: "ro-RO", fallbackLocale: "ro-RO", getLocale: () => { const locale = getLocale(); switch (locale) { case "ro": return "ro-RO"; case "ru": return "ru-RU"; default: return "ro-RO" } } }) ] }); ``` ### Additional context _No response_
GiteaMirror added the tanstack-start label 2026-03-13 10:09:38 -05:00
Author
Owner

@better-auth-agent[bot] commented on GitHub (Dec 30, 2025):

It appears that the issue you are experiencing with the tanstackStartCookies plugin may be related to its dependency resolution in your project. Users have documented similar issues with the integration of tanstackStartCookies, particularly in situations where it introduced implicit dependencies that resulted in build failures.

To address the problem, consider the following steps:

  1. Remove the Plugin: As you've already noted, removing the tanstackStartCookies plugin resolves the build issue. This is a valid temporary solution.

  2. Version Compatibility: Make sure you are using compatible versions of Better Auth and TanStack. If you recently upgraded Better Auth, check for any breaking changes or issues that have been reported in the changelogs or GitHub issues around 1.4.9 and 1.4.2/1.4.3.

  3. Update Code Imports: Ensure that your imports for cookies and related utilities are coming from the correct modules. The plugin should ideally use imports from @tanstack/start-server-core, which resolves build/run time issues by removing specific dependencies like React that may not be necessary for your setup.

  4. Consult Documentation: The integration documentation is a crucial resource. Verify that the setup aligns with the most current documentation, as this could have changed, particularly with recent plugin updates [1][2].

If these steps do not resolve the problem, I suggest you tag @bekacru or @ping__ in the Discord so they can provide further assistance tailored to your specific setup.

What further detail or aspect of this issue would you like to explore?

If you need more help, tag @better-auth-agent in a comment so I can respond.

DiagramDiscordGitHub

Diagram Join Star

@better-auth-agent[bot] commented on GitHub (Dec 30, 2025): It appears that the issue you are experiencing with the `tanstackStartCookies` plugin may be related to its dependency resolution in your project. Users have documented similar issues with the integration of `tanstackStartCookies`, particularly in situations where it introduced implicit dependencies that resulted in build failures. To address the problem, consider the following steps: 1. **Remove the Plugin**: As you've already noted, removing the `tanstackStartCookies` plugin resolves the build issue. This is a valid temporary solution. 2. **Version Compatibility**: Make sure you are using compatible versions of `Better Auth` and `TanStack`. If you recently upgraded `Better Auth`, check for any breaking changes or issues that have been reported in the changelogs or GitHub issues around `1.4.9` and `1.4.2`/`1.4.3`. 3. **Update Code Imports**: Ensure that your imports for cookies and related utilities are coming from the correct modules. The plugin should ideally use imports from `@tanstack/start-server-core`, which resolves build/run time issues by removing specific dependencies like React that may not be necessary for your setup. 4. **Consult Documentation**: The integration documentation is a crucial resource. Verify that the setup aligns with the most current documentation, as this could have changed, particularly with recent plugin updates [[1]](https://github.com/better-auth/better-auth/pull/6235)[[2]](https://github.com/better-auth/better-auth/pull/6225). If these steps do not resolve the problem, I suggest you tag @bekacru or @ping__ in the Discord so they can provide further assistance tailored to your specific setup. What further detail or aspect of this issue would you like to explore? _If you need more help, tag @better-auth-agent in a comment so I can respond._ <!-- bot:webhook reply v1 --> [Diagram](https://repodiagrams.s3.eu-north-1.amazonaws.com/skyvern_ultra_detailed_interactive.html) • [Discord](https://discord.gg/fG2XXEuQX3) • [GitHub](https://github.com/Skyvern-AI/Skyvern) [![Diagram](https://img.shields.io/badge/Diagram-2b3137?style=flat-square)](https://repodiagrams.s3.eu-north-1.amazonaws.com/skyvern_ultra_detailed_interactive.html) [![Join](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&style=flat-square)](https://discord.gg/fG2XXEuQX3) [![Star](https://img.shields.io/badge/star-181717?logo=github&logoColor=white&style=flat-square)](https://github.com/Skyvern-AI/Skyvern)
Author
Owner

@dosubot[bot] commented on GitHub (Dec 30, 2025):

This issue is suited for GitHub tracking. The error is not caused by a missing or misnamed function in the tanstackStartCookies plugin itself—the function attachRouterServerSsrUtils is neither defined nor referenced in the Better Auth codebase, so the problem is likely due to how Tanstack Start integrates with Bun and handles server-side utilities or module resolution. Similar build errors have been reported when using Tanstack Start and Bun, especially with plugins like tanstackStartCookies, and are often related to unresolved imports or bundler configuration issues. Workarounds include marking special Tanstack module paths (like #tanstack-router-entry and #tanstack-start-entry) as external in your Bun config, or manually handling cookies in middleware if the plugin fails to set them correctly. For more details and community discussion, see issue #6341 and plugin implementation.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 30, 2025): <!-- Answer --> This issue is suited for GitHub tracking. The error is not caused by a missing or misnamed function in the tanstackStartCookies plugin itself—the function `attachRouterServerSsrUtils` is neither defined nor referenced in the Better Auth codebase, so the problem is likely due to how Tanstack Start integrates with Bun and handles server-side utilities or module resolution. Similar build errors have been reported when using Tanstack Start and Bun, especially with plugins like tanstackStartCookies, and are often related to unresolved imports or bundler configuration issues. Workarounds include marking special Tanstack module paths (like `#tanstack-router-entry` and `#tanstack-start-entry`) as external in your Bun config, or manually handling cookies in middleware if the plugin fails to set them correctly. For more details and community discussion, see [issue #6341](https://github.com/better-auth/better-auth/issues/6341) and [plugin implementation](https://github.com/better-auth/better-auth/blob/4d7d7d5a76b5e0e90d42238f00751584ec07afa7/packages/better-auth/src/integrations/tanstack-start.ts). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/949090e6-f370-47a3-bd2a-ebb384957fb6?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/cdda13d9-dd27-4d31-b09a-5d8bec92de21/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20issue%20is%20suited%20for%20GitHub%20tracking.%20The%20error%20is%20not%20caused%20by%20a%20missing%20or%20misnamed%20function%20in%20the%20tanstackStartCookies%20plugin%20itself%E2%80%94the%20function%20%60attachRouterServerSsrUtils%60%20is%20neither%20defined%20nor%20referenced%20in%20the%20Better%20Auth%20codebase%2C%20so%20the%20problem%20is%20likely%20due%20to%20how%20Tanstack%20Start%20integrates%20with%20Bun%20and%20handles%20server-side%20utilities%20or%20module%20resolution.%20Similar%20build%20errors%20have%20been%20reported%20when%20using%20Tanstack%20Start%20and%20Bun%2C%20especially%20with%20plugins%20like%20tanstackStartCookies%2C%20and%20are%20often%20related%20to%20unresolved%20imports%20or%20bundler%20configuration%20issues.%20Workarounds%20include%20marking%20special%20Tanstack%20module%20paths%20%28like%20%60%23tanstack-router-entry%60%20and%20%60%23tanstack-start-entry%60%29%20as%20external%20in%20your%20Bun%20config%2C%20or%20manually%20handling%20cookies%20in%20middleware%20if%20the%20plugin%20fails%20to%20set%20them%20correctly.%20For%20more%20details%20and%20community%20discussion%2C%20see%20%5Bissue%20%236341%5D%28https%3A//github.com/better-auth/better-auth/issues/6341%29%20and%20%5Bplugin%20implementation%5D%28https%3A//github.com/better-auth/better-auth/blob/4d7d7d5a76b5e0e90d42238f00751584ec07afa7/packages/better-auth/src/integrations/tanstack-start.ts%29.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/better-auth/better-auth/issues/7064)
Author
Owner

@micaww commented on GitHub (Dec 30, 2025):

this is happening for me on node as well, using all latest dependencies and documented setup.

downgrading better-auth from 1.4.9 to 1.4.1 fixed my builds. there may be another version in between that works but i didn't test each one.

@micaww commented on GitHub (Dec 30, 2025): this is happening for me on node as well, using all latest dependencies and documented setup. downgrading better-auth from 1.4.9 to 1.4.1 fixed my builds. there may be another version in between that works but i didn't test each one.
Author
Owner

@EliasGit117 commented on GitHub (Dec 30, 2025):

@micaww tried, didn't help :(

@EliasGit117 commented on GitHub (Dec 30, 2025): @micaww tried, didn't help :(
Author
Owner

@bytaesu commented on GitHub (Dec 31, 2025):

Hi @EliasGit117, I'll look into this 🙂

@bytaesu commented on GitHub (Dec 31, 2025): Hi @EliasGit117, I'll look into this 🙂
Author
Owner

@bytaesu commented on GitHub (Dec 31, 2025):

Hi @micaww @micaww,

I created a project using guide from Bun and set up Better Auth following our docs, and the build works fine on my end. Could you take a look at the repo below, or share a repo where the issue can be reproduced?

There shouldn't be any issues with the build, and if there is a real problem, I'll fix it right away 🙂

@bytaesu commented on GitHub (Dec 31, 2025): Hi @micaww @micaww, I created a project using guide from Bun and set up Better Auth following our docs, and the build works fine on my end. Could you take a look at the repo below, or share a repo where the issue can be reproduced? There shouldn't be any issues with the build, and if there is a real problem, I'll fix it right away 🙂 - https://bun.com/docs/guides/ecosystem/tanstack-start - https://github.com/bytaesu/temp-tanstack-betterauth-bun
Author
Owner

@EliasGit117 commented on GitHub (Dec 31, 2025):

@bytaesu https://github.com/EliasGit117/abyssal-rachel

to see the problem you need to build project and run production build, dev works

@EliasGit117 commented on GitHub (Dec 31, 2025): @bytaesu https://github.com/EliasGit117/abyssal-rachel to see the problem you need to build project and run production build, dev works
Author
Owner

@bytaesu commented on GitHub (Dec 31, 2025):

Hi @EliasGit117,

I tried the repo exactly as provided without any changes, and it seems to work fine. Could this have been a temporary issue? 🤔

https://github.com/user-attachments/assets/373daca2-5151-4b9d-acb8-58bd2cbc8b05

@bytaesu commented on GitHub (Dec 31, 2025): Hi @EliasGit117, I tried the repo exactly as provided without any changes, and it seems to work fine. Could this have been a temporary issue? 🤔 https://github.com/user-attachments/assets/373daca2-5151-4b9d-acb8-58bd2cbc8b05
Author
Owner

@EliasGit117 commented on GitHub (Dec 31, 2025):

okay, thats really weird, I will try to load project from zero. thanks

@EliasGit117 commented on GitHub (Dec 31, 2025): okay, thats really weird, I will try to load project from zero. thanks
Author
Owner

@EliasGit117 commented on GitHub (Dec 31, 2025):

@bytaesu did you enable back tanstack cookies?

@EliasGit117 commented on GitHub (Dec 31, 2025): @bytaesu did you enable back tanstack cookies?
Author
Owner

@apshenichniy commented on GitHub (Jan 4, 2026):

The same problem :( removing the plugin works for me.

@apshenichniy commented on GitHub (Jan 4, 2026): The same problem :( removing the plugin works for me.
Author
Owner

@volfadar commented on GitHub (Jan 4, 2026):

up, i also have this issue

@volfadar commented on GitHub (Jan 4, 2026): up, i also have this issue
Author
Owner

@bytaesu commented on GitHub (Jan 5, 2026):

Let me check again 👀

@bytaesu commented on GitHub (Jan 5, 2026): Let me check again 👀
Author
Owner

@bytaesu commented on GitHub (Jan 7, 2026):

Hi @volfadar @apshenichniy @EliasGit117,

This might be an issue with TanStack Start rather than Better Auth, because the attachRouterServerSsrUtils is not defined error isn't caused by Better Auth I guess... TanStack Start integration plugin has a very simple structure 👀

I checked a TanStack Start issue

and saw that it was resolved by changes in vite.config.ts

If the issue persists, please let me know. I've tried reproducing it multiple times following the official docs, but I can't see the problem on my side, so it's a bit hard to investigate 🙏

@bytaesu commented on GitHub (Jan 7, 2026): Hi @volfadar @apshenichniy @EliasGit117, This might be an issue with TanStack Start rather than Better Auth, because the _`attachRouterServerSsrUtils is not defined`_ error isn't caused by Better Auth I guess... TanStack Start integration plugin has a very simple structure 👀 I checked a TanStack Start issue - https://github.com/TanStack/router/issues/6204 and saw that it was resolved by changes in vite.config.ts If the issue persists, please let me know. I've tried reproducing it multiple times following the official docs, but I can't see the problem on my side, so it's a bit hard to investigate 🙏
Author
Owner

@bytaesu commented on GitHub (Jan 7, 2026):

I've checked multiple times and even built the actual app, and I don't see issues, so I'll close this for now. If the issue persists, feel free to re-open this or mention me 😄

@bytaesu commented on GitHub (Jan 7, 2026): I've checked multiple times and even built the actual app, and I don't see issues, so I'll close this for now. If the issue persists, feel free to re-open this or mention me 😄
Author
Owner

@EliasGit117 commented on GitHub (Jan 7, 2026):

@bytaesu thanks a lot! can you please share config, I tried to reorder in vite.config.ts as in that link, but it behaves the same.

@EliasGit117 commented on GitHub (Jan 7, 2026): @bytaesu thanks a lot! can you please share config, I tried to reorder in vite.config.ts as in that link, but it behaves the same.
Author
Owner

@shevenionov commented on GitHub (Jan 7, 2026):

I have the same issue. Not sure if it's tanstackStartCookies. I feel like it might be related to the size of the project. When I add more files it creates an additional chunk like server-yI2khagj.mjs . And throws attachRouterServerSsrUtils. Because there's a broken import

... requestHandler, s as setCookie } from "./server.mjs"; import "@tanstack/router-core/ssr/server"; const user = pgTable("user", { ...

I don't know how to fix this. Been trying for 2 days now...

@shevenionov commented on GitHub (Jan 7, 2026): I have the same issue. Not sure if it's tanstackStartCookies. I feel like it might be related to the size of the project. When I add more files it creates an additional chunk like server-yI2khagj.mjs . And throws attachRouterServerSsrUtils. Because there's a broken import ` ... requestHandler, s as setCookie } from "./server.mjs"; import "@tanstack/router-core/ssr/server"; const user = pgTable("user", { ... ` I don't know how to fix this. Been trying for 2 days now...
Author
Owner

@shevenionov commented on GitHub (Jan 7, 2026):

switching to "nitro": "npm:nitro-nightly@latest" helped in package.json

@shevenionov commented on GitHub (Jan 7, 2026): switching to `"nitro": "npm:nitro-nightly@latest"` helped in package.json
Author
Owner

@EliasGit117 commented on GitHub (Jan 8, 2026):

@shevenionov didn't help in my case :'(

@EliasGit117 commented on GitHub (Jan 8, 2026): @shevenionov didn't help in my case :'(
Author
Owner

@volfadar commented on GitHub (Jan 8, 2026):

In my case, I switched to a Bun custom server instead of Nitro as the docs suggest, and everything has been working pretty well. It’s been two days since the staging environment went live.

@volfadar commented on GitHub (Jan 8, 2026): In my case, I switched to a Bun custom server instead of Nitro as the docs suggest, and everything has been working pretty well. It’s been two days since the staging environment went live.
Author
Owner

@EliasGit117 commented on GitHub (Jan 8, 2026):

@volfadar you speak of bun docs or tanstack start docs?

@EliasGit117 commented on GitHub (Jan 8, 2026): @volfadar you speak of bun docs or tanstack start docs?
Author
Owner

@volfadar commented on GitHub (Jan 8, 2026):

@EliasGit117 Tanstack Start, see this https://tanstack.com/start/latest/docs/framework/react/guide/hosting#production-server-with-bun there is a preset/template for creating production server on bun runtime for tanstack start

@volfadar commented on GitHub (Jan 8, 2026): @EliasGit117 Tanstack Start, see this https://tanstack.com/start/latest/docs/framework/react/guide/hosting#production-server-with-bun there is a preset/template for creating production server on bun runtime for tanstack start
Author
Owner

@EliasGit117 commented on GitHub (Jan 8, 2026):

@volfadar thanks, I will try it.

@EliasGit117 commented on GitHub (Jan 8, 2026): @volfadar thanks, I will try it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2633