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

NextJS 14 causes issue: fetch is not a function #53

Open
philmetzger opened this issue Nov 11, 2023 · 3 comments
Open

NextJS 14 causes issue: fetch is not a function #53

philmetzger opened this issue Nov 11, 2023 · 3 comments

Comments

@philmetzger
Copy link

I upgraded nextjs to v14.0.1 and since then I cannot send out any notifications:

Error: fetch is not a function
    at Webhook.send (webpack-internal:///(rsc)/./node_modules/discord-webhook-node/src/classes/webhook.js:62:41)

Not sure what we can do here?

@philmetzger philmetzger changed the title NextJS 14 causes issues NextJS 14 causes issue: fetch is not a function Nov 11, 2023
@OmegaWulf
Copy link

Having the same issue. No change in relevant code other than updating to nextjs 14

@polvallverdu
Copy link

Same issue here. Might be due to the override NextJS does to fetch.

@cibucristi
Copy link

cibucristi commented Apr 18, 2024

Still same issue here, using just Nodejs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants