Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: SSR streaming example error #3195

Open
thgh opened this issue Jan 19, 2025 · 0 comments
Open

Docs: SSR streaming example error #3195

thgh opened this issue Jan 19, 2025 · 0 comments

Comments

@thgh
Copy link

thgh commented Jan 19, 2025

Which project does this relate to?

Start

Describe the bug

This example crashes the dev server:
https://tanstack.com/router/latest/docs/framework/react/examples/basic-ssr-streaming-file-based

Terminal:

> dev
> node server


♻️  Generating routes...
✅ Processed routes in 544ms
Client Server: http://localhost:3000
Rendering:  / ...
TypeError: Cannot read properties of undefined (reading 'url')
    at eval (file:///home/projects/rlmiboakgm.github/node_modules/@tanstack/start/dist/esm/server/createRequestHandler.js:30:33)
    at Module.render (/home/projects/rlmiboakgm.github/src/entry-server.tsx:14:5)
    at eval (file:///home/projects/rlmiboakgm.github/server.js:91:13)

Node.js v18.20.3

It results in a white page in the preview window.

Your Example Website or App

https://tanstack.com/router/latest/docs/framework/react/examples/basic-ssr-streaming-file-based

Steps to Reproduce the Bug or Issue

  1. Open the page
  2. Notice the error in the terminal and the white page

Expected behavior

A working web app

Screenshots or Videos

No response

Platform

  • OS: macos
  • Browser: Chrome

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant