-
Notifications
You must be signed in to change notification settings - Fork 28
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 Presenter cannot be invoked without 'new' #75
Comments
Hm, interesting. 2.0.9 was a veryminor change, there is however an effort to remove CoffeeScript. Maybe try out that branch? #69 |
Yeah I saw, but 2.0.8 was a while ago, and quite a few dependencies were updated since.
Will do! Nice. |
(Sorry for not understanding how coffeescript modules work at all. :( ) If I If I try to install any commit between 2.0.8 and 2.0.9 (to pinpoint when the error appeared), I instead get the error |
I think there is a release issue that @javve tried to fix with v2.0.10-quickfix, but I'm not sure it worked. Are you running your example in the browser (and in that case are you using webpack or something else?) or in node? |
This is for the browser, with webpack (4.41.5). 2.0.10-quickfix didn't fix my problem unfortunately. |
(Also, I'm perfectly happy with 2.0.8, don't work too hard on this. :)) |
This probably has to do with extending non native ES6 classes. Its wierd that it worked pre 2.0.9 though. I think this will be solved in 3.0 when everything will be native classes :) And I really havn't been working hard on this! 😂 |
🥰😍😘❤️ (In my head, you both worked full-time on this since February last
year, no matter what you say.)
…On Fri, 16 Apr 2021 at 13:37, Johannes Edelstam ***@***.***> wrote:
This probably has to do with extending non native ES6 classes. Its wierd
that it worked pre 2.0.9 though. I think this will be solved in 3.0 when
everything will be native classes :) And I really havn't been working hard
on this! 😂
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#75 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC3QKG7UOOWPGKFRZBC323TJAOQRANCNFSM4KQI7VOQ>
.
|
A brand new 3.0 version is finally out 😅 |
Hi @javve @jede et. al.!
We've been using yayson in ES6 like this
And it has worked well up until version 2.0.8. Starting in yayson 2.0.9, we get the error
Something has changed. Any ideas?
The text was updated successfully, but these errors were encountered: