Title: tanstack add path resolve error on windows · Issue #329 · TanStack/cli · GitHub
Open Graph Title: tanstack add path resolve error on windows · Issue #329 · TanStack/cli
X Title: tanstack add path resolve error on windows · Issue #329 · TanStack/cli
Description: Which project does this relate to? Create Tanstack App Describe the bug PS C:\Users\marv\workspace\fenbi-tanstack> tanstack add shadcn ┌ Adding shadcn to the project... node:internal/fs/promises:642 return new FileHandle(await PromisePro...
Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug PS C:\Users\marv\workspace\fenbi-tanstack> tanstack add shadcn ┌ Adding shadcn to the project... node:internal/fs/promises:64...
X Description: Which project does this relate to? Create Tanstack App Describe the bug PS C:\Users\marv\workspace\fenbi-tanstack> tanstack add shadcn ┌ Adding shadcn to the project... node:internal/fs/promises...
Opengraph URL: https://github.com/TanStack/cli/issues/329
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tanstack add path resolve error on windows","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\n```shell\nPS C:\\Users\\marv\\workspace\\fenbi-tanstack> tanstack add shadcn\n┌ Adding shadcn to the project...\nnode:internal/fs/promises:642\n return new FileHandle(await PromisePrototypeThen(\n ^\n\nError: ENOENT: no such file or directory, open 'C:\\Users\\marv\\workspace\\fenbi-tanstack\\Users\\marv\\workspace\\fenbi-tanstack\\package.json'\n at async open (node:internal/fs/promises:642:25)\n at async readFile (node:internal/fs/promises:1279:14)\n at async Object.readFile (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@tanstack+create@0.49.3_tslib@2.8.1/node_modules/@tanstack/create/dist/environment.js:61:21)\n at async writeFiles (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@tanstack+create@0.49.3_tslib@2.8.1/node_modules/@tanstack/create/dist/add-to-app.js:83:44)\n at async addToApp (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@tanstack+create@0.49.3_tslib@2.8.1/node_modules/@tanstack/create/dist/add-to-app.js:138:5)\n at async Command.\u003canonymous> (file:///C:/Users/marv/AppData/Local/pnpm/global/5/.pnpm/@tanstack+cli@0.48.7_@babel_0213e0a28e2c3897a033eaf3ba9b4a1c/node_modules/@tanstack/cli/dist/cli.js:456:13) {\n errno: -4058,\n code: 'ENOENT',\n syscall: 'open',\n path: 'C:\\\\Users\\\\marv\\\\workspace\\\\fenbi-tanstack\\\\Users\\\\marv\\\\workspace\\\\fenbi-tanstack\\\\package.json' \n}\n\nNode.js v24.12.0\n```\n\n### Your Example Website or App\n\n.\n\n### Steps to Reproduce the Bug or Issue\n\n1. init project with `tanstack create .`\n2. `tanstack add shadcn`\n\n### Expected behavior\n\nno error\n\n### Screenshots or Videos\n\n_No response_\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-04T05:32:07Z","url":"https://github.com/TanStack/cli/issues/329"}
| 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:1b60335d-4734-5abc-0365-3a4242334247 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8EA:1C77AB:1F271D:2BC50D:6AF9A41F |
| html-safe-nonce | 7d4c41d8a0eb30d87d580473f2f8f43deaeead6f8792871da155d246a5be50bc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEVBOjFDNzdBQjoxRjI3MUQ6MkJDNTBEOjZBRjlBNDFGIiwidmlzaXRvcl9pZCI6IjY5OTM1Mjk3NzcxMTM2Mzc5MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 322f451757b8ddf4ddf8ce8f6998c1017c2e893ffbe166ee2ac76f42f994748d |
| hovercard-subject-tag | issue:3894759542 |
| 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/329/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9c9d7cd4e6470827461890af0bcc6edc99dd36998e509e2956d2ea0f6866c95/TanStack/cli/issues/329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9c9d7cd4e6470827461890af0bcc6edc99dd36998e509e2956d2ea0f6866c95/TanStack/cli/issues/329 |
| og:image:alt | Which project does this relate to? Create Tanstack App Describe the bug PS C:\Users\marv\workspace\fenbi-tanstack> tanstack add shadcn ┌ Adding shadcn to the project... node:internal/fs/promises:64... |
| 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