Closed ptdev closed 1 day ago
I am facing the same issue.
I am facing the same issue.
I am facing the same issue.
I just published version 7 which should be compatible with express-handlebars@8
@yads Thank you for taking care. I've upgraded to the newest version and ran in the following error now:
TypeError: Cannot read properties of undefined (reading 'create')
at new TemplateGenerator (/node_modules/.pnpm/nodemailer-express-handlebars@7.0.0_express-handlebars@8.0.1_nodemailer@6.9.15/node_modules/nodemailer-express-handlebars/lib/generator.js:8:31)
at default (/node_modules/.pnpm/nodemailer-express-handlebars@7.0.0_express-handlebars@8.0.1_nodemailer@6.9.15/node_modules/nodemailer-express-handlebars/lib/index.js:4:21)
Any idea?
I'm not really sure, it appears there's an issue importing express-handlebars.
import handlebars from 'express-handlebars';
seems to be undefined.
Hi, this module stopped working when express-handlebars updated to v8 recently.
The error we got while using it (in nuxt) was:
We're using the following workaround on our package.json (when using yarn):
Cheers 👍