This message was deleted.
# typescript
s
This message was deleted.
This seems to suggest that the import from
child_process
should just be serialized into an import on the server, no?
Copy code
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.
Copy code
This 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.
Am I missing something?
ahh, bah... I moved the
const execFile = promisify(execFileReal);
into the callback, and that fixed it
is this a bug?