How to run actor compiled in ES6 as forked mode?
pola88 opened this issue · comments
pola88 commented
Hi guys,
I'm trying to run an actor as forked mode and this actor class is compiled with babel, but when runs the actor I got the following error:
ReferenceError: _classCallCheck is not defined
What am I missing?
Thanks,
Mikayel Ohanjanyan commented
Hey!
Currently I'm running actors wrote in ES6 style, and getting no error.
Can you try running code, using node 10 experimental-modules enabled, and see if you are still getting errors?
pola88 commented
Let me try, I'm using node 8.9.3
.
Anyway, if I use it as in-memory
, it works properly, I only get this error when is in forked
Viktor Isaev commented
Hi! This seems like a regression. I was able to reproduce it. I'll release a fix shortly.
Viktor Isaev commented
Released a fix in 1.4.0.
Also released a new dynamic logger configuration feature.