Skip to content

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

@CyberPunkCodes

Description

@CyberPunkCodes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions