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

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

Closed
mkilpatrick opened this issue Apr 11, 2024 · 3 comments
Closed

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

mkilpatrick opened this issue Apr 11, 2024 · 3 comments
Labels
fetch Issues and PRs related to the Fetch API

Comments

@mkilpatrick
Copy link

mkilpatrick commented Apr 11, 2024

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

@VoltrexKeyva
Copy link
Member

Can't reproduce, can't do much here without seeing your code that uses the function.

@VoltrexKeyva VoltrexKeyva added the fetch Issues and PRs related to the Fetch API label Apr 11, 2024
@joyeecheung
Copy link
Member

joyeecheung commented Apr 12, 2024

I think this will be fixed by #52275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fetch Issues and PRs related to the Fetch API
Projects
None yet
Development

No branches or pull requests

5 participants