Skip to content

GETTING TypeError: this.renderAsync is not a function at Generator.next when using latest version #616

@mantadeploy

Description

@mantadeploy

Describe the Bug

As in title, when trying to send an email event with the bare minimum from this guide https://resend.com/docs/send-with-nextjs I get the error

TypeError: this.renderAsync is not a function
at Generator.next (<anonymous>)

Downgrading to the version "resend": "^4.6.0" solved the issue for me.

Link to the code that reproduces this issue

https://github.com/resend/resend-nextjs-app-router-example/tree/main

To Reproduce

Just download the example app and try sending an email: you'll get

TypeError: this.renderAsync is not a function
at Generator.next (<anonymous>)

Expected Behavior

Actually, send the email.

What's your node version? (if relevant)

24

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