Crash of ESM loader
Version
v20.20
Platform
mac os
Subsystem
No response
What steps will reproduce the bug?
I'm working on tool that collects coverage https://github.com/coderaiser/escover
It runs provided script and adds loaders using NODE_OPTIONS. Node v20.2 is crashed, node v18, node v16 works good.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
coderaiser@localcmd:~/putout/packages/putout$ redrun test > TERM_PROGRAM=0 TERMINAL_EMULATOR=0 escover tape 'test/*.{js,mjs}' '{bin,lib}/**/*.spec.{js,mjs}' node:internal/modules/esm/hooks:515 if (response.message.status === 'exit') { return; } ^ TypeError: Cannot read properties of undefined (reading 'message') at #waitForWorker (node:internal/modules/esm/hooks:515:22) at HooksProxy.makeAsyncRequest (node:internal/modules/esm/hooks:525:24) at #getModuleJob (node:internal/modules/esm/loader:366:44) at CustomizedModuleLoader.getModuleJob (node:internal/modules/esm/loader:371:42) at CustomizedModuleLoader.import (node:internal/modules/esm/loader:265:12) at node:internal/modules/run_main:56:28 at loadESM (node:internal/process/esm_loader:36:13) at runMainESM (node:internal/modules/run_main:53:21) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:5) at node:internal/main/run_main_module:23:47 Node.js v20.2.0
Additional information
No response