Closed mkg20001 closed 6 years ago
From the README:
Microjob can be used only with Node.js 10.5+ and with the --experimental-worker flag activated, otherwise it won't work.
Using node --experimental-worker
should make this work.
Workers are currently still experimental in Node.js, and require this flag, since it is possible that there will be changes to the API without a semver-major release; see https://github.com/nodejs/node/issues/22940 for the progress on that.
Oops, seems like coding at 10pm isn't the best idea ;)