Skip to content

Error encountered after the new project was initialized. #1237

Closed

Description

@devtanluc

Uncaught TypeError: Cannot read properties of undefined (reading 'endsWith')
at getServerUrl (trpc.ts:21:26)
at trpc.ts:60:15

client:963 [vite] TypeError: Cannot read properties of undefined (reading 'endsWith')
at getServerUrl (auth-client.ts:18:26)
at auth-client.ts:42:33

bun create better-t-stack@latest san --frontend tanstack-router --backend hono --runtime bun --api trpc --auth better-auth --payments polar --database postgres --orm drizzle --db-setup none --package-manager bun --git --web-deploy vercel --server-deploy vercel --install --addons biome evlog lefthook pwa skills turborepo --examples ai todo
src/web/.env
VITE_SERVER_URL=http://localhost:3000

Activity

  1. added a commit that references this issue on Sep 15, 2026
    4c526bb
  2. AmanVarshney01 commented on Oct 21, 2026

    @AmanVarshney01
    Owner

    Fixed in #1238 (the browser crash when reading the server URL). If you still see this on the latest version, please reopen or open a new issue with the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions