Skip to content

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

@philmetzger

Description

@philmetzger

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions