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
TypeError: component.getTagName is not a function
at ~/node_modules/mjml-parser-xml/lib/index.js:60:141
at ~/node_modules/lodash/fp/_baseConvert.js:34:28
at arrayMap (~/node_modules/lodash/_arrayMap.js:16:21)
at map (~/node_modules/lodash/map.js:50:10)
at wrapper (~/node_modules/lodash/_createHybrid.js:87:15)
at ~/node_modules/lodash/fp/_baseConvert.js:455:19
at wrapper (~/node_modules/lodash/_createHybrid.js:87:15)
at ~/node_modules/lodash/_createFlow.js:71:31
at MJMLParser (~/node_modules/mjml-parser-xml/lib/index.js:60:155)
at mjml2html (~/node_modules/mjml-core/lib/index.js:219:39)
When adding the mj-chart tag to my mjml file. It happened just after adding the .mjmlconfig file, before that the chart was not showing on the emails.
If you guys need anything else from me let me know.
Thanks
mjml v4.10.1
mjml-chart v4
The text was updated successfully, but these errors were encountered:
th-alexis
changed the title
TypeError when parsing mjml
TypeError when parsing mjml-chart
Sep 26, 2022
I think the problem comes from the compatibility between mjml and mjml-chart version you use. mjml-chart v5.x.x is built for MJML4 and mjml-chart v4.x.x is built for MJML3
Could you try with mjml-chart v5 ? And let me know if you have the same error
Hi devs,
I get the error:
When adding the mj-chart tag to my mjml file. It happened just after adding the .mjmlconfig file, before that the chart was not showing on the emails.
If you guys need anything else from me let me know.
Thanks
mjml v4.10.1
mjml-chart v4
The text was updated successfully, but these errors were encountered: