-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Which project does this relate to?
Start
Describe the bug
I started with a new Tanstack Start project, created with the cli, using Nitro and including Tanstack Query.
bun create @tanstack/start@latest --framework solid
To reproduce the bug, all I need to do is start the development server and go to http://localhost:3000/demo/tanstack-query (the Tanstack query demo route). If I navigate to this page via the navigation menu, I do not have an error. If I navigate to it using the search bar (or refresh the page), I get the following error:
Cannot read properties of undefined (reading 'defaultQueryOptions').
The issue seems to disappear if I remove nitro() from vite.config.ts, but I imagine that this is not a valid solution.
Your Example Website or App
https://github.com/jcsmithf22/tanstack-start-solid-query-reproduction
Steps to Reproduce the Bug or Issue
- Install dependencies with
bun install - Start development server with
bun run dev - Navigate to
http://localhost:3000/demo/tanstack-query
Expected behavior
I expected to not receive this error at all, and to view the page as normal.
Screenshots or Videos
No response
Platform
- Start Version: 1.141.7
- Nitro Version: 3.0.1-alpha.1
- OS: Windows (WSL Arch Linux)
- Browser: Chrome
- Browser Version: 143.0.7499.146
- Bundler: Vite
- Bundler Version: 7.3.0
Additional context
No response