Skip to content

Node v20.12.x TypeError: fetch is not a function #52481

Closed
@mkilpatrick

Description

@mkilpatrick

Version

v20.12.2

Platform

Darwin mkilpatrick-mbp 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64

Subsystem

No response

What steps will reproduce the bug?

Using fetch is broken in Node v20.12.x. It works in v20.11.x.

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior? Why is that the expected behavior?

No response

What do you see instead?

Using fetch results in TypeError: fetch is not a function

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    fetchIssues and PRs related to the Fetch API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions