[GH-ISSUE #519] bun create tui fails (at least) on Windows #907

Closed
opened 2026-03-14 09:00:11 +03:00 by kerem · 3 comments
Owner

Originally created by @umstek on GitHub (Jan 13, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/519

Originally assigned to: @msmps on GitHub.

The suggested quick start command bun create tui fails on Windows.

PS D:\src> bun -v
1.3.6
Image Image
Originally created by @umstek on GitHub (Jan 13, 2026). Original GitHub issue: https://github.com/anomalyco/opentui/issues/519 Originally assigned to: @msmps on GitHub. The suggested quick start command `bun create tui` fails on Windows. ```powershell PS D:\src> bun -v 1.3.6 ``` <img width="1443" height="1036" alt="Image" src="https://github.com/user-attachments/assets/59f68da0-340b-46b7-8e1f-2ce1cc2a8a49" /> <img width="1353" height="424" alt="Image" src="https://github.com/user-attachments/assets/46e7ae19-d90c-4063-b53a-02cb137b9f4d" />
kerem closed this issue 2026-03-14 09:00:16 +03:00
Author
Owner

@msmps commented on GitHub (Jan 13, 2026):

Hey, thanks @umstek!

This actually belongs in https://github.com/msmps/create-tui but could you please run with the --verbose flag and let me know the output? I think I have an idea what could be going wrong...

<!-- gh-comment-id:3746662675 --> @msmps commented on GitHub (Jan 13, 2026): Hey, thanks @umstek! This actually belongs in https://github.com/msmps/create-tui but could you please run with the `--verbose` flag and let me know the output? I think I have an idea what could be going wrong...
Author
Owner

@msmps commented on GitHub (Jan 14, 2026):

this should be fixed in the latest version! bunx create-tui@latest

<!-- gh-comment-id:3750312458 --> @msmps commented on GitHub (Jan 14, 2026): this should be fixed in the latest version! `bunx create-tui@latest`
Author
Owner

@umstek commented on GitHub (Jan 16, 2026):

@msmps

Sorry about filing in the wrong repo. It's still not fixed. But npm create tui worked, so I believe it's an issue with bun, not tui or create-tui.

Here are some verbose logs.

PS D:\src> bun create tui@latest --verbose
√ What is your project named? ... bbb
√ Which template do you want to use? ...  React
[create-tui] Creating a new project in D:\src\bbb
[create-tui] Initializing project with the react template
[create-tui] Validating GitHub repository: https://github.com/msmps/create-tui
[create-tui] Using branch: main
[create-tui] Repository validated successfully
[create-tui] Downloading from: /msmps/create-tui/tar.gz/main
[create-tui] Extracting to temporary directory...
[create-tui] Invalid template: missing package.json
[create-tui] ↳ Templates must contain a package.json file at the root.
PS D:\src> bun create tui -- -t react -v bbb
[create-tui] Creating a new project in D:\src\bbb
[create-tui] Initializing project with the react template
[create-tui] Validating GitHub repository: https://github.com/msmps/create-tui
[create-tui] Using branch: main
[create-tui] Repository validated successfully
[create-tui] Downloading from: /msmps/create-tui/tar.gz/main
[create-tui] Extracting to temporary directory...
[create-tui] Invalid template: missing package.json
[create-tui] ↳ Templates must contain a package.json file at the root.

Thanks.

<!-- gh-comment-id:3760225439 --> @umstek commented on GitHub (Jan 16, 2026): @msmps Sorry about filing in the wrong repo. It's still not fixed. But `npm create tui` worked, so I believe it's an issue with bun, not tui or create-tui. Here are some verbose logs. ``` PS D:\src> bun create tui@latest --verbose √ What is your project named? ... bbb √ Which template do you want to use? ... React [create-tui] Creating a new project in D:\src\bbb [create-tui] Initializing project with the react template [create-tui] Validating GitHub repository: https://github.com/msmps/create-tui [create-tui] Using branch: main [create-tui] Repository validated successfully [create-tui] Downloading from: /msmps/create-tui/tar.gz/main [create-tui] Extracting to temporary directory... [create-tui] Invalid template: missing package.json [create-tui] ↳ Templates must contain a package.json file at the root. ``` ``` PS D:\src> bun create tui -- -t react -v bbb [create-tui] Creating a new project in D:\src\bbb [create-tui] Initializing project with the react template [create-tui] Validating GitHub repository: https://github.com/msmps/create-tui [create-tui] Using branch: main [create-tui] Repository validated successfully [create-tui] Downloading from: /msmps/create-tui/tar.gz/main [create-tui] Extracting to temporary directory... [create-tui] Invalid template: missing package.json [create-tui] ↳ Templates must contain a package.json file at the root. ``` Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#907
No description provided.