Title: `tsconfig.json` file is missing while initializing a new project on Windows · Issue #319 · TanStack/cli · GitHub
Open Graph Title: `tsconfig.json` file is missing while initializing a new project on Windows · Issue #319 · TanStack/cli
X Title: `tsconfig.json` file is missing while initializing a new project on Windows · Issue #319 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug When initializing a new project using @tanstack/cli create on Windows, the generated project does not include a tsconfig.json file in the root directory. Because of ...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug When initializing a new project using @tanstack/cli create on Windows, the generated project does not include a tsconfig.json...
X Description: Which project does this relate to? Create Tanstack App Describe the bug When initializing a new project using @tanstack/cli create on Windows, the generated project does not include a tsconfig.json...
Opengraph URL: https://github.com/TanStack/cli/issues/319
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`tsconfig.json` file is missing while initializing a new project on Windows","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nWhen initializing a new project using @tanstack/cli create on Windows, the generated project does not include a tsconfig.json file in the root directory.\n\nBecause of this, the TypeScript compiler (tsc) does not run as expected during the build process. When npm run build is executed, the build command technically exits successfully, but tsc does not perform any compilation. Instead, it only prints the TypeScript help banner, which happens when no tsconfig.json is found in the current working directory.\n\n### Your Example Website or App\n\n-\n\n### Steps to Reproduce the Bug or Issue\n\n1. On Windows, initialize a new project using the TanStack CLI: `npx @tanstack/cli@latest create`\n2. Follow the prompts and complete the project initialization.\n3. Navigate into the generated project directory.\n4. Verify that no tsconfig.json file exists in the root directory.\n5. Run the build command: `npm run build` or `pnpm run build`\n6. Observe that: \n```The build command completes successfully.\ntsc only outputs the help/usage banner.\nNo TypeScript compilation or type-checking is performed because tsconfig.json is missing.\n```\n\n\u003cimg width=\"765\" height=\"540\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/98d41509-fbac-4594-8a68-e75d96fe861a\" />\n[...]\n\u003cimg width=\"1409\" height=\"514\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ea9bc809-362e-4bf2-ba03-aa3cadb08f43\" />\n\n### Expected behavior\n\n`tsconfig.json` file should be generated in the project root by default as the other operating system do.\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\n- OS: Microsoft Windows 10 Pro\n- Version: 10.0.19045 N/A Build 19045\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/agussetyar","@type":"Person","name":"agussetyar"},"datePublished":"2026-02-02T03:24:59Z","url":"https://github.com/TanStack/cli/issues/319"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:38778bbf-a2b3-efb8-4328-72e28efbaeb0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 895E:33A683:283C1B3:34BAFAF:6AF9AA8F |
| html-safe-nonce | ded198ee4157212e5ca98a719f3c3c3bdb5f8b5def5e31fbae0ff7b695066763 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTVFOjMzQTY4MzoyODNDMUIzOjM0QkFGQUY6NkFGOUFBOEYiLCJ2aXNpdG9yX2lkIjoiODI1MzI3ODgzNTA0Mjc5MDAzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef3dbf549c4fe46eff356dc320659ee807182931634eecd10bca4cb4e109f10d |
| hovercard-subject-tag | issue:3883739971 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/319/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6585079ad565c63b34f4f68b09ef6957d023e5bf1c1aa9e7a7ba07a2c6f52f19/TanStack/cli/issues/319 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6585079ad565c63b34f4f68b09ef6957d023e5bf1c1aa9e7a7ba07a2c6f52f19/TanStack/cli/issues/319 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug When initializing a new project using @tanstack/cli create on Windows, the generated project does not include a tsconfig.json... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | agussetyar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/cli git https://github.com/TanStack/cli.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 932949058 |
| octolytics-dimension-repository_nwo | TanStack/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 932949058 |
| octolytics-dimension-repository_network_root_nwo | TanStack/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width