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

"React Example: Nextjs Suspense Streaming" doesn't work #7604

Closed
c1tru55 opened this issue Jun 21, 2024 · 1 comment
Closed

"React Example: Nextjs Suspense Streaming" doesn't work #7604

c1tru55 opened this issue Jun 21, 2024 · 1 comment
Labels
has workaround upstream wontfix This will not be worked on

Comments

@c1tru55
Copy link

c1tru55 commented Jun 21, 2024

Describe the bug

example doesn't work:
https://tanstack.com/query/latest/docs/framework/react/examples/nextjs-suspense-streaming

ative addon because loading addons is disabled: /home/projects/qgniggnjz.github/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node
⚠ Attempted to load @next/swc-linux-x64-musl, but an error occurred: Cannot load native addon because loading addons is disabled: /home/projects/qgniggnjz.github/node_modules/@next/swc-linux-x64-musl/next-swc.linux-x64-musl.node
⨯ Failed to load SWC binary for linux/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc

Your minimal, reproducible example

https://tanstack.com/query/latest/docs/framework/react/examples/nextjs-suspense-streaming

Steps to reproduce

.

Expected behavior

.

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

.

Tanstack Query adapter

None

TanStack Query version

.

TypeScript version

No response

Additional context

No response

@TkDodo
Copy link
Collaborator

TkDodo commented Jun 21, 2024

probably an upstream issue with stackblitz. it works fine in codesandbox.

https://codesandbox.io/p/devbox/github/tanstack/query/tree/main/examples/react/nextjs-suspense-streaming?embed=1&theme=dark

@TkDodo TkDodo closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
@TkDodo TkDodo added wontfix This will not be worked on upstream has workaround labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has workaround upstream wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants