Nodemailer as external package not working
Hi all!
I have a project using nodemailer in a Node Action environment, but I'm getting this error:
✘ [ERROR] Could not resolve "nodemailer" convex/node_emails.ts:6:28: 6 │ import * as nodemailer from "nodemailer"; You can mark the path "nodemailer" as external to exclude it from the bundle, which will remove this error../convex.json convex/node_emails.ts What am I missing? It's got to be something obvious 😅
2 Replies
Have you installed nodemailer?
npm i nodemailer
or similar🤦 Thanks @ballingt, I was fairly certain I had but evidently not