Skip to content

Unexpected crash when using fetch() in Node.js 20.11.0 #59657

@erify-world

Description

@erify-world

Environment:

  • Node.js version: 20.11.0
  • OS: Ubuntu 22.04 (x64)

Issue:
Describe what went wrong or what feature you are requesting.
Be clear, e.g. “Calling fs.readFileSync on a large JSON file crashes with error XYZ.”

Steps to Reproduce:

  1. Run node index.js
  2. Inside the file, call fetch() without polyfill
  3. See error output

Expected Behavior:
Explain what you expected to happen.

Actual Behavior:
Explain what actually happened.

Additional Context:
Any logs, screenshots, or links that help.

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