sparse-intern-71089
05/02/2022, 11:03 PMwonderful-bird-78843
05/02/2022, 11:05 PMwonderful-bird-78843
05/02/2022, 11:06 PMchild_process
should just be serialized into an import on the server, no?
For the reasons cited previously, modules are captured in a special but intuitive fashion. When a module is captured in code, it is translated into an idiomatic require call in the serialized JavaScript code.
wonderful-bird-78843
05/02/2022, 11:07 PMThis form of module capturing only applies to external modules that are referenced, such as modules that are directly part of Node, or are in the node_modules directory.
wonderful-bird-78843
05/02/2022, 11:07 PMwonderful-bird-78843
05/02/2022, 11:09 PMconst execFile = promisify(execFileReal);
into the callback, and that fixed itwonderful-bird-78843
05/02/2022, 11:09 PM