Skip to content
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

This repo DOES NOT WORK! - Fatal error: mjml.mjml2html is not a function #7

Open
CyberPunkCodes opened this issue Nov 20, 2018 · 0 comments

Comments

@CyberPunkCodes
Copy link

This repo does not work with the current version of MJML.

I was getting: Fatal error: mjml.mjml2html is not a function

You must edit tasks/mjml.js and add .default to the end of the MJML require statement.

var mjml = require('mjml').default;

I manually edited the file to get it working temporarily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant