examples icon indicating copy to clipboard operation
examples copied to clipboard

ReferenceError: MAIN is not defined

Open Damdias opened this issue 7 years ago • 2 comments

when I download the source and try run after install total.js its getting below error

ReferenceError: MAIN is not defined at ChildProcess. (E:\Projects\Nodejs\totaljs\examples\workers\definitions\worker.js:7:3) at ChildProcess.emit (events.js:189:13) at emit (internal/child_process.js:820:12) at process._tickCallback (internal/process/next_tick.js:63:19)

Damdias avatar Jun 26 '19 05:06 Damdias

Hi @Damdias, sorry for troubles. I'm preparing examples for a new version of Total.js which will be published in these days (maybe next week).

You can use a stable beta version $ npm install total.js@beta and everything will work correcly.

petersirka avatar Jun 26 '19 06:06 petersirka

BTW: here is the updated documentation: https://docs.totaljs.com/v3.x.x/en.html#pages~Getting%20started

petersirka avatar Jun 26 '19 06:06 petersirka