Relative import path not prefixed with / or ./ or ../ from - Convex function
Hi, I'm quite new to convex so I apologise if I've missed something here. However, when I attempt to send an email inside a convex function using resend I get an error like this:
My code:
Any advice on what may be going on here?
Many thanks,
Noah
2 Replies
Is this related to the Convex runtime?
* https://docs.convex.dev/functions/runtimes#nodejs-runtime
* https://docs.convex.dev/functions/runtimes#supported-apis
Runtimes | Convex Developer Hub
Learn the differences between the Convex and Node.js runtimes for functions
I've fixed by manually rendering the email as html with the resend library: