Skip to content

Next15 async headers method compat #4245

@tjx666

Description

@tjx666

Preliminary Checks

Reproduction

https://stackblitz.com/github/tjx666/next15-clerk-headers-issue

Publishable key

pk_test_dmlhYmxlLXRyZWVmcm9nLTY4LmNsZXJrLmFjY291bnRzLmRldiQ

Description

  1. pnpm install
  2. pnpm dev
  3. open https://localhost:3000
  4. open chrome devtools

You will see:

image

Environment

System:
    OS: macOS 15.0
    CPU: (8) arm64 Apple M1 Pro
    Memory: 428.80 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.local/state/fnm_multishells/11477_1727689139725/bin/node
    npm: 10.8.3 - ~/.local/state/fnm_multishells/11477_1727689139725/bin/npm
    pnpm: 9.11.0 - ~/.local/state/fnm_multishells/11477_1727689139725/bin/pnpm
    bun: 1.1.29 - /opt/homebrew/bin/bun
  Browsers:
    Chrome: 129.0.6668.71
    Safari: 18.0
  npmPackages:
    @clerk/nextjs: ^5.6.3 => 5.6.3 
    @types/node: ^20 => 20.16.10 
    @types/react: ^18 => 18.3.10 
    @types/react-dom: ^18 => 18.3.0 
    eslint: ^8 => 8.57.1 
    eslint-config-next: 15.0.0-canary.173 => 15.0.0-canary.173 
    next: 15.0.0-canary.173 => 15.0.0-canary.173 
    postcss: ^8 => 8.4.47 
    react: 19.0.0-rc-3edc000d-20240926 => 19.0.0-rc-3edc000d-20240926 
    react-dom: 19.0.0-rc-3edc000d-20240926 => 19.0.0-rc-3edc000d-20240926 
    tailwindcss: ^3.4.1 => 3.4.13 
    typescript: ^5 => 5.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions