Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
I upgraded Next.js to 10.2 and enabled Webpack 5. Emails functioning fine before upgrade (Webpack 4). After upgrade I get this error.
Error: No content was passed for subject, html, text, nor attachments message props. Check that the files for the template "quoteEmail" exist.
at async Email.send (/var/task/node_modules/email-templates/lib/index.js:300:20)
2021-04-30T01:00:47.004Z 8a3122be-0afa-4e7f-b32b-71e72e09a647 ERROR Error: No content was passed for subject, html, text, nor attachments message props. Check that the files for the template "quoteEmail" exist.
at Email.renderAll (/var/task/node_modules/email-templates/lib/index.js:277:251)
at async Email.send (/var/task/node_modules/email-templates/lib/index.js:300:20)
Any idea where to begin looking? I'm not using any custom webpack configuration.
I upgraded Next.js to 10.2 and enabled Webpack 5. Emails functioning fine before upgrade (Webpack 4). After upgrade I get this error.
Error: No content was passed for subject, html, text, nor attachments message props. Check that the files for the template "quoteEmail" exist.