You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
I've faced a problem recently that during the development all templates I had worked fine but on production some of them were missing. The error I get in server logs were like Could not render email before sending: Could not find template: adminCommentsAdded [500] mailer.
To keep story short, the problem was I had few HTML files in /private folder which had exact contents and Meteor removes duplication when building the bundle. The original files still can be fetched using Assets methods but since not all actual files are there, the lookback:emails fails to fetch some of them.
The fast solution is to make changes in files in order to make their contents differ, for example to add <!-- Template XXX ---> comment on the top.
I guess it'll be nice to point that out in lookback:emails documentation.
I've faced a problem recently that during the development all templates I had worked fine but on production some of them were missing. The error I get in server logs were like
Could not render email before sending: Could not find template: adminCommentsAdded [500] mailer
.To keep story short, the problem was I had few HTML files in
/private
folder which had exact contents and Meteor removes duplication when building the bundle. The original files still can be fetched usingAssets
methods but since not all actual files are there, thelookback:emails
fails to fetch some of them.The fast solution is to make changes in files in order to make their contents differ, for example to add
<!-- Template XXX --->
comment on the top.I guess it'll be nice to point that out in
lookback:emails
documentation.See the thread here for details https://forums.meteor.com/t/some-private-subfolders-are-missing-in-the-bundle/28711
The text was updated successfully, but these errors were encountered: