Skip to content

tsr generate doesn't generate routeTree.gen.ts after router-cli@1.166.9 #6968

@2paperstar

Description

@2paperstar

Which project does this relate to?

Router

Describe the bug

tsr cli not working

tsr --help command doesn't generate any outputs

so, tsr generate not producing routeTree.gen.ts file.

Your Example Website or App

no example required

Steps to Reproduce the Bug or Issue

  1. make new project with bunx @tanstack/cli create . --router-only
  2. add cli with bun add -D @tanstack/router-cli@1.166.9 (latest version also has bug)
  3. run cli with bunx tsr generate
  4. check src directory ls src/routeTree.gen.ts
  5. There's no routeTree.gen.ts file

Expected behavior

routeTree.gen.ts file generated when tsr generate

tsr --help should print help messages

Screenshots or Videos

Image Image

Platform

  • OK version: router-cli@1.166.8
  • bug version: router-cli@1.166.9, router-cli@1.166.10, router-cli@1.166.11

Additional context

No response

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