Title: vitest vscode starting error with basic template · Issue #345 · TanStack/cli · GitHub
Open Graph Title: vitest vscode starting error with basic template · Issue #345 · TanStack/cli
X Title: vitest vscode starting error with basic template · Issue #345 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug [INFO 10:02:37 PM] [v1.44.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace. [INFO 10:02:37 PM] [AP...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug [INFO 10:02:37 PM] [v1.44.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file ...
X Description: Which project does this relate to? Create Tanstack App Describe the bug [INFO 10:02:37 PM] [v1.44.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file ...
Opengraph URL: https://github.com/TanStack/cli/issues/345
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"vitest vscode starting error with basic template","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\n```\n[INFO 10:02:37 PM] [v1.44.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.\n[INFO 10:02:37 PM] [API] Resolving configs: tan-table/vite.config.ts\n[INFO 10:02:38 PM] [API] Running Vitest v3.2.4 (tan-table/vite.config.ts) with \"C:\\nvm4w\\nodejs\\node.EXE C:/Users/marv/.vscode/extensions/vitest.explorer-1.44.0/dist/worker.js\"\n[INFO 10:02:39 PM] [API] Watching vite.config.ts\n[INFO 10:02:39 PM] [VSCODE] Watching tan-table with pattern **/*\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\package.json\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\@tanstack_react-router___@tanstack_react-store.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\@tanstack_react-router___@tanstack_react-store.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\chunk-BUTJZHYJ.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\chunk-BUTJZHYJ.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\chunk-BUXYMD7L.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\chunk-BUXYMD7L.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react-dom.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react-dom.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react-dom_client.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react-dom_client.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react_jsx-dev-runtime.js\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react_jsx-dev-runtime.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps_temp_415f202b\\react_jsx-runtime.js.map\n[10:02:40 PM] [VSCODE] Ignoring file: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\package.json\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react-dom.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\_metadata.json\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react-dom.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\chunk-BUTJZHYJ.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\chunk-BUXYMD7L.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react-dom_client.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react_jsx-runtime.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\chunk-BUTJZHYJ.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\chunk-BUXYMD7L.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react-dom_client.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react_jsx-dev-runtime.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react_jsx-runtime.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\react_jsx-dev-runtime.js.map\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\@tanstack_react-router___@tanstack_react-store.js\n[10:02:40 PM] [VSCODE] File deleted: node_modules\\.vite\\vitest\\da39a3ee5e6b4b0d3255bfef95601890afd80709\\deps\\@tanstack_react-router___@tanstack_react-store.js.map\n[10:02:40 PM] [VSCODE] File created: __unconfig_vite.config.ts\n[10:02:41 PM] Disposing test runner\n[10:02:41 PM] Ending test run \u003cnone>\n[INFO 10:02:41 PM] [API] Vitest process 29960 closed successfully\n[10:02:41 PM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.\n[Error 10:02:41 PM] Failed to close server\n[INFO 10:02:41 PM] [API] Resolving configs: tan-table/__unconfig_vite.config.ts, tan-table/vite.config.ts\n[INFO 10:02:41 PM] [API] Running Vitest v3.2.4 (tan-table/__unconfig_vite.config.ts) with \"C:\\nvm4w\\nodejs\\node.EXE C:/Users/marv/.vscode/extensions/vitest.explorer-1.44.0/dist/worker.js\"\n[INFO 10:02:41 PM] [API] Running Vitest v3.2.4 (tan-table/vite.config.ts) with \"C:\\nvm4w\\nodejs\\node.EXE C:/Users/marv/.vscode/extensions/vitest.explorer-1.44.0/dist/worker.js\"\n[Error 10:02:43 PM] There were errors during config load.\n[Error 10:02:43 PM] [Error Error] Vitest failed to start: \nError: Build failed with 1 error:\nerror: Could not resolve \"C:\\\\Users\\\\marv\\\\workspace\\\\tan-table\\\\__unconfig_vite.config.ts\"\n at failureErrorWithLog (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:1467:15)\n at C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:926:25\n at runOnEndCallbacks (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:1307:45)\n at buildResponseToResult (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:924:7)\n at C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:951:16\n at responseCallbacks.\u003ccomputed> (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:603:9)\n at handleIncomingPacket (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:658:12)\n at Socket.readFromStdout (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:581:7)\n at Socket.emit (node:events:508:28)\n at addChunk (node:internal/streams/readable:559:12)\nError: Vitest failed to start: \nError: Build failed with 1 error:\nerror: Could not resolve \"C:\\\\Users\\\\marv\\\\workspace\\\\tan-table\\\\__unconfig_vite.config.ts\"\n at failureErrorWithLog (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:1467:15)\n at C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:926:25\n at runOnEndCallbacks (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:1307:45)\n at buildResponseToResult (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:924:7)\n at C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:951:16\n at responseCallbacks.\u003ccomputed> (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:603:9)\n at handleIncomingPacket (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:658:12)\n at Socket.readFromStdout (C:\\Users\\marv\\workspace\\tan-table\\node_modules\\.pnpm\\esbuild@0.27.3\\node_modules\\esbuild\\lib\\main.js:581:7)\n at Socket.emit (node:events:508:28)\n at addChunk (node:internal/streams/readable:559:12)\n at e.i (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:15:2593)\n at emit (node:events:519:28)\n at emit (node:domain:489:12)\n at Gn.em (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:59523)\n at Gn.emit (node:events:519:28)\n at Gn.emit (node:domain:489:12)\n at Gn.dataMessage (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:36942)\n at Gn.getData (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:35805)\n at Gn.startLoop (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:32375)\n at Gn._write (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:31659)\n at writeOrBuffer (node:internal/streams/writable:572:12)\n at _write (node:internal/streams/writable:501:10)\n at Gn.Writable.write (node:internal/streams/writable:510:10)\n at Socket.Kr (c:\\Users\\marv\\.vscode\\extensions\\vitest.explorer-1.44.0\\dist\\extension.js:1:60511)\n at Socket.emit (node:events:519:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\n[INFO 10:02:43 PM] [API] Watching vite.config.ts\n[INFO 10:02:43 PM] [VSCODE] Watching tan-table with pattern **/*\n[10:03:12 PM] [VSCODE] Ignoring file: .git\\FETCH_HEAD\n```\n\n### Your Example Website or App\n\n-\n\n### Steps to Reproduce the Bug or Issue\n\n1. `npx @tanstack/cli@latest create my-tanstack-app --tailwind`\n2. open in vscode\n\n### Expected behavior\n\nno errors\n\n### Screenshots or Videos\n\n\u003cimg width=\"496\" height=\"116\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/d118daf7-948a-4367-b73f-00e5bb5022d4\" />\n\n### Platform\n\n- OS: [e.g. macOS, Windows, Linux]\n- Browser: [e.g. Chrome, Safari, Firefox]\n- Version: [e.g. 91.1]\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/MarvinXu","@type":"Person","name":"MarvinXu"},"datePublished":"2026-02-10T14:13:26Z","url":"https://github.com/TanStack/cli/issues/345"}
| 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:facabaee-e572-61db-d476-8683328a36d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8274:70037:19E78F5:23879DA:6AF9AA88 |
| html-safe-nonce | 38a0caf4f96abe5a749fbcc4654ed7b7a5312f6cfbc34714f3b0d2a6b71e3cd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjc0OjcwMDM3OjE5RTc4RjU6MjM4NzlEQTo2QUY5QUE4OCIsInZpc2l0b3JfaWQiOiIyNTM1MTg4NjMzOTEyNzE1OTEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2f7a8e0d41675e157b042d001cf0c4deb1b3cbfff1c25b730863b8766ab4c436 |
| hovercard-subject-tag | issue:3921704079 |
| 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/345/issue_layout |
| twitter:image | https://opengraph.githubassets.com/09fb41dcd03deadce23bb8b83da8a04d4f772199150d8171723736879e80915b/TanStack/cli/issues/345 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/09fb41dcd03deadce23bb8b83da8a04d4f772199150d8171723736879e80915b/TanStack/cli/issues/345 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug [INFO 10:02:37 PM] [v1.44.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MarvinXu |
| 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