Closed johnnykoo84 closed 5 years ago
This can be closed, it is strictly for debug output only.
Look at the source code here, you will see it is wrapped with a try/catch:
https://github.com/niftylettuce/email-templates/blob/master/src/index.js#L135-L147
I had a similar problem. I had subject.pug and html.pug, however it kept failing on missing text.pug. It turned out, that I was referencing a css inside html.pug and that css was missing. After adding the css file, it worked as expected without having a text.pug.
Hello Thanks for the awesome template library, we love it. currently I'm u sing v5.0.3
Recently, I get the following error with the DEBUG_MODE env
please forget about my specific path, and the problem is, it says
no such file or directory
. As far as I knowtext.pug
is optional, but I already havehtml.pug
withsubject.pug
Could you please advise which configuration I should work on? Thanks,