image-charts / mjml-chart

<mj-chart/> for MJML framework
https://image-charts.com
78 stars 5 forks source link

Receiving Error: `Error when registering custom component` #66

Closed sjones6 closed 3 years ago

sjones6 commented 4 years ago
Error when registering custom component : node_modules/mjml-chart/lib/index.js TypeError: Cannot read property 'BodyComponent' of undefined
    at Object.get [as BodyComponent] (node_modules/mjml-core/lib/index.js:50:29)

This seems to happen on initialization, even those the component seems to work properly and the chart is embedded, so I'm not sure if this error is causing any errant behavior but it's noisy in the console.

System Info: node 10.17.0 mjml 4.6.3 mjml-chart 5.3.2

MacOS Mojave

FGRibreau commented 4 years ago

poke @btourman

btourman commented 4 years ago

Hi @sjones6, Sorry for the delay. Could you send me the code to reproduce this behavior ?

btourman commented 3 years ago

Hi,

This issue is no longer present with mjml 4.7.1 and mjml-chart 5.6.0