piscinajs / piscina

A fast, efficient Node.js Worker Thread Pool implementation
Other
4.09k stars 104 forks source link

ReferenceError [Error]: module is not defined in ES module scope #586

Open AlizerUncaged opened 1 month ago

AlizerUncaged commented 1 month ago

for some reason whenever i use import ... from i get this error

node:internal/event_target:1084
  process.nextTick(() => { throw err; });
                           ^
ReferenceError [Error]: module is not defined in ES module scope

looks like im not able to use es modules for the worker scripts?

metcoder95 commented 1 month ago

Under which platform are you using Piscina, and which version of Piscina? Can you also provide an Minimum Reproducible Example?

github-actions[bot] commented 2 days ago

This issue has been marked as stale because it has been opened 30 days without activity. Remove stale label or comment or this will be closed in 5 days.