Skip to content

TypeError: e.getSetCookie is not a function #56947

@grzegorzpokorski

Description

@grzegorzpokorski

Link to the code that reproduces this issue

https://github.com/grzegorzpokorski/nextjs-getsetcookie-error

To Reproduce

  1. clone repo
  2. pnpm i
  3. pnpm dev
  4. open localhost:3000 in browser
  5. should occur error

Current vs. Expected behavior

error should not occur

Verify canary release

  • I verified that the issue exists in the latest Next.js canary release

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023
Binaries:
  Node: 18.11.0
  npm: 8.19.2
  Yarn: 1.22.19
  pnpm: 8.9.2
Relevant Packages:
  next: 13.5.6-canary.2
  eslint-config-next: N/A
  react: 18.2.0
  react-dom: 18.2.0
  typescript: 5.1.3
Next.js Config:
  output: N/A

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

Not sure

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions