untu / comedy

Node.js actor framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run actor compiled in ES6 as forked mode?

pola88 opened this issue · comments

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,

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?

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

Hi! This seems like a regression. I was able to reproduce it. I'll release a fix shortly.

Released a fix in 1.4.0.

Also released a new dynamic logger configuration feature.