Title: [Bug] Initializing a new project causing error · Issue #318 · TanStack/cli · GitHub
Open Graph Title: [Bug] Initializing a new project causing error · Issue #318 · TanStack/cli
X Title: [Bug] Initializing a new project causing error · Issue #318 · TanStack/cli
Description: Which project does this relate to? Start Describe the bug Hello I started a new project using the cli command pnpm create @tanstack/start@latest I selected ESLint as a toolchain I select5ed Nitro as a deployment adapter And for add-ons i...
Open Graph Description: Which project does this relate to? Start Describe the bug Hello I started a new project using the cli command pnpm create @tanstack/start@latest I selected ESLint as a toolchain I select5ed Nitro a...
X Description: Which project does this relate to? Start Describe the bug Hello I started a new project using the cli command pnpm create @tanstack/start@latest I selected ESLint as a toolchain I select5ed Nitro a...
Opengraph URL: https://github.com/TanStack/cli/issues/318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug] Initializing a new project causing error","articleBody":"### Which project does this relate to?\n\nStart\n\n### Describe the bug\n\nHello\nI started a new project using the cli command pnpm create @tanstack/start@latest \nI selected ESLint as a toolchain\nI select5ed Nitro as a deployment adapter\nAnd for add-ons i selected:\n- Neon\n- Drizzle\n- Shadcn\n- T3Env\n- Better Auth\n\nExample:\nNone\nDatabase Provider:\nPostgreSQL\n\nThe project was created successfully however when i cd into it, and try the command pnpm dev\nI am met with an error message\n`\nfailed to load config from {DIR}\\vite.config.ts\nerror when starting dev server:\nfile:///{DIR}/node_modules/.vite-temp/vite.config.ts.timestamp-1769850058369-7cf479491f32c.mjs:12\nimport postgresPlugin from \"file:///{DIR}/node_modules/.pnpm/@neondatabase+vite-plugin-p_7522f09f817b7d019420e2f4f9abed0f/node_modules/@neondatabase/vite-plugin-postgres/dist/index.js\";\nSyntaxError: The requested module 'file:///{DIR}/node_modules/.pnpm/@neondatabase+vite-plugin-p_7522f09f817b7d019420e2f4f9abed0f/node_modules/@neondatabase/vite-plugin-postgres/dist/index.js' does not provide an export named 'default'\n`\nAnd indeed opening the file `neon-vite-plugin.ts` I have the TS error:\n`\nModule '\"{DIR}/node_modules/.pnpm/@neondatabase+vite-plugin-p_7522f09f817b7d019420e2f4f9abed0f/node_modules/@neondatabase/vite-plugin-postgres/dist/index\"' has no default export.\n`\n\non the first import line:\n`\nimport postgresPlugin from '@neondatabase/vite-plugin-postgres'\n`\n\n### Your Example Website or App\n\nhttps://github.com/JadWS/tanstack-start-init-bug\n\n### Steps to Reproduce the Bug or Issue\n\nI am sorry all i have is a pulic repo where i just cloned what i did in my private repo\nI havent yet had the chance to setup anything in the project before i got the error\nAll i did was change 2 values inside the .env.local \nTo reproduce simply clone the public repo i created and try to run it\nor initliaze the project with the configs i did and you should have the same issue\nI had to re-do the steps for the public repo and have the same error\n\n### Expected behavior\n\nTo run without errors\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\n- Router / Start Version: 1.132.\n- OS: Windows\n- Browser: Chrome\n- Browser Version: 144.0.7559.110\n- Bundler: Vite\n- Bundler Version: latest\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/JadWS","@type":"Person","name":"JadWS"},"datePublished":"2026-01-31T09:22:36Z","url":"https://github.com/TanStack/cli/issues/318"}
| 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:64b324fd-b27e-cd15-18da-665b40fc177b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6BE:31EA53:334C41:47BC3F:6AF9ADBF |
| html-safe-nonce | c02591357afb7761c03a731c4b1a00b221bcc38f6b840b4cdd62ea0ac5de0ca2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkJFOjMxRUE1MzozMzRDNDE6NDdCQzNGOjZBRjlBREJGIiwidmlzaXRvcl9pZCI6IjUyODIzNjE5MjI0NTQ5MjQ3MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4c7aa6da7a0119793b5cabc9c68ea4a119e2ec7be96ca7c7ad832000d3b4a01c |
| hovercard-subject-tag | issue:3878863879 |
| 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/318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2688e7f7496588f09b0869cabe6c60a358f25fc7ea3677cb330d616e346926d3/TanStack/cli/issues/318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2688e7f7496588f09b0869cabe6c60a358f25fc7ea3677cb330d616e346926d3/TanStack/cli/issues/318 |
| og:image:alt | Which project does this relate to? Start Describe the bug Hello I started a new project using the cli command pnpm create @tanstack/start@latest I selected ESLint as a toolchain I select5ed Nitro a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JadWS |
| 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