-
Notifications
You must be signed in to change notification settings - Fork 968
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
TypeError: Class constructor BodyComponent cannot be invoked without 'new' #2149
Comments
Looks like it's because native class is trying to be extended by not native class. I guess we need to enable class transpilation back until v5 bump. |
Do we have the same issue within the component boilerplate ? |
What's "component boilerplate"? |
Component boilerplate repo: Same error for me for all my custom mjml components that are based on component boilerplate. |
Ref mjmlio#2149 External packages rely on transpiled classes. We can disable transpilation in major release.
Hi @btourman @YasiOnFire this should be fixed in the freshly released mjml 4.8.2 |
Hi everyone,
I'm developer on https://github.com/image-charts/mjml-chart
Recently I try to bump mjml-* dependencies from 4.7.1 to 4.8.1.
But when I run our tests,
TypeError: Class constructor BodyComponent cannot be invoked without 'new'
appears.And I don't know why I have this error
Here is the component file https://github.com/image-charts/mjml-chart/blob/master/src/index.js
To Reproduce
Steps to reproduce the behavior:
npm test
MJML environment (please complete the following information):
The text was updated successfully, but these errors were encountered: