Closed xsvetli1 closed 6 months ago
Same issue with EJS.
Same issue
same
Same here
same here with EjsAdapter ;)
same here ----- HAVE PROBLEM
I have corrected the dist that was uploaded to npm, now you should not have this problem
same here... Any solution? I'm using docker to deploy my nestjs application.
It was fixed in latest version. Otherwise add css-inline as dependency
Describe the bug I did some investigation and it seems after your commit 4f79d29, any app using handlebars will crash before even starts (same as mine is at the moment). The issue is the error message:
Basically, your most up-to-date version of the @nestjs-modules/mailer is after commit 4f79d29 missing dependency
css-inline
which was replaced by@css-inline/css-inline
. However, it is not the same package! And in thehandlebars.adapter.js
, you are still trying to import the oldcss-inline
.I was able to fix it by installing
css-inline
to my app as dependency, but I believe your goal was to get rid of this old dependency, so please fix the import in handlebars.adapter.js. It may be also used somewhere else, so some deeper investigation, of some other oldcss-inline
imports which were forgotten would be very helpful.To Reproduce Use the handlebar with the mailer and try to run your app.
Expected behavior App using mailer with handlebar runs successfuly.