Skip to content

Incorrect create tanstack-router command with deno #20804

@PTPhongKMF

Description

@PTPhongKMF

Describe the bug

When running create vite with deno -> solid -> tanstack router, the option to create router is (deno create -- tsrouter-app@latest TARGET_DIR --framework Solid --interactive)

this will throw error because deno doesnt have create command. It should be deno init --npm

deno init --npm vite
⚠️  Do you fully trust npm:create-vite package? Deno will invoke code from it with all permissions. Do you want to continue? [y/n]
> y
│
◇  Project name:
│  vite-project
│
◇  Select a framework:
│  Solid
│
◇  Select a variant:
│  TanStack Router ↗
error: Module not found "file:///G:/Projects/Coding/Test/create".

Reproduction

no need reproduct url, happen everywhere

Steps to reproduce

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 1.80 GB / 15.83 GB
  Binaries:
    Node: 22.12.0 - G:\Program Files\nodejs\node.EXE
    npm: 10.8.0 - C:\Users\Study\AppData\Roaming\npm\npm.CMD
    pnpm: 10.15.1 - C:\Users\Study\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (140.0.3485.54)
    Internet Explorer: 11.0.19041.5794

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions