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

Can not work with res.flushHeaders(); #66980

Open
childrentime opened this issue Jun 18, 2024 · 0 comments
Open

Can not work with res.flushHeaders(); #66980

childrentime opened this issue Jun 18, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. Pages Router Related to Pages Router.

Comments

@childrentime
Copy link

Link to the code that reproduces this issue

https://github.com/childrentime/nextjs-earlyhints

To Reproduce

  1. Start next app in dev.
  2. check localhost:3000

Current vs. Expected behavior

current: don't have any response

image

expected: have the correct response

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.1.0: Mon Oct  9 21:32:52 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T8122
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 20.12.0
  npm: 10.5.0
  Yarn: 1.22.21
  pnpm: 8.15.5
Relevant Packages:
  next: 14.2.4 // Latest available version is detected (14.2.4).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Pages Router

Which stage(s) are affected? (Select all that apply)

next dev (local)

Additional context

No response

@childrentime childrentime added the bug Issue was opened via the bug report template. label Jun 18, 2024
@github-actions github-actions bot added the Pages Router Related to Pages Router. label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Pages Router Related to Pages Router.
Projects
None yet
Development

No branches or pull requests

1 participant