Skip to content

Tanstack Start - Missing .output/server/index.mjs in RC ^1.132.2 #494

@titusgahissy

Description

@titusgahissy

After creating a new project with the latest RC (^1.132.2), the default start script fails because .output/server/index.mjs is not generated.

Steps to reproduce

npx create-start-app@latest
bun run build

Observe:

  • The build succeeds.
  • .output/server/index.mjs is missing.
  • The generated package.json still contains: "start": "node .output/server/index.mjs"

Actual behavior

The start script is broken because the referenced file does not exist.

I updated my script to: "start": "node dist/server/server.ts"

But after reviewing the generated code (in server.ts), it looks like the embedded server is no longer included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions