-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“A partials dir must be a string or config object” using nodemailer-express-handlebars in Firebase Functions #22
Comments
I'm seeing this also. Looks like there was a change in |
I managed to get my code working, posting in case it helps out. I had to add the
The |
Works for me thanks a lot now the partialsDir is required i just put it on code and BANG worked ! , thanks again ! |
works for me using partialsDir, thanks |
Incase anyone wonders why it still doesn't work, check out this last line, take note of the hbs function |
Works for me too, using the partialDir. Thanks! |
works |
It works. But when I used different template to send email. The default template still used.
Please help. |
I had the same issue, just set the defaultLayout to an empty string and it'll depend on the template in the mailoptions:
transporter.use('compile', hbs(handlebarOptions)); |
Hi can you show me what you put in the viewPath on your project? |
It did work. Thanks |
Hi,
I'm facing an issue for 2 weeks now when I'm using this library in my project hosted in Firebase.
This function works well in local environment and worked well before but now this issue appears, like if my path in the handlebars configuration disappears.
templateDir is a string of course but in the Firebase Functions console the issue “A partials dir must be a string or config object” appears.
Any idea of what it may be?
Thanks
The text was updated successfully, but these errors were encountered: