create-t3-app icon indicating copy to clipboard operation
create-t3-app copied to clipboard

bug: "[method] create t3-app@latest ." will create broken codebase.

Open J-Giggles opened this issue 1 year ago • 1 comments

Provide environment information

pnpm create t3-app@latest then pnpm dev

Describe the bug

if you install the t3 stack using "." at the end of the npm create t3-app@latest then the dev server will not load routes.

Reproduction repo

none

To reproduce

pnpm create t3-app@latest . pnpm dev

Additional information

No response

J-Giggles avatar Apr 23 '24 20:04 J-Giggles

Could you be more specific? . will create the app in the directory you're currently in. If there are already files in this directory, you are given the option to abort, delete the files, or continue. If you leave the other files around, any number of edge cases that break the app could occur.

c-ehrlich avatar Apr 23 '24 20:04 c-ehrlich

Guessing this is the same issue as #1854 which is now completed. If not the OP can reopen with more detailed reproduction steps

juliusmarminge avatar May 07 '24 08:05 juliusmarminge