-
Notifications
You must be signed in to change notification settings - Fork 29
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
SSR compileTemplate not Found #34
Comments
Is it plausible you need "templating" as well? Did you ever figure this out? |
My first answer was wrong, I had to remove it. Can you post more? Meteor version? SSR Version? |
Thanks for your help! Really appreciate it. This was a few months ago, I ended up not using SSR package. |
Did you find another package? Which one? |
I am facing the same issue, I would appreciate if you could please let us know what did you end up using. Thanks.. |
I ended up using the forgotpassword method....http://docs.meteor.com/#/full/accounts_forgotpassword |
Any update on this? I have the same issue :( |
I finally changed version in .versions file and seems to be working fine now. |
to which version did you change? |
It works properly with meteorhacks:[email protected] |
Any insights appreciate into challenges I am having using SSR, package is defined in my package.js
api.use([
'accounts-password',
'email',
'meteorhacks:ssr',
], 'server') ;
When I use SSR server side (server/sendemail.js) as below
SSR.compileTemplate( 'htmlEmail', Assets.getText('private/passwordResetPlainText.html'));
I get the below error
Exception while invoking method 'sendEmail' TypeError: Object # Object> has no method 'compileTemplate'
SSR is definitely defined on Server. When I get all methods on the SSR I get only the
objectconsole.log(EmailGenerator.getAllMethods(SSR));
Here is my output
[ 'render' ]
For some reasons it only finds the render method and not the compilTemplate method. I am using SSR in a login "private" package which is used by main app.
The text was updated successfully, but these errors were encountered: