DOMException: DataCloneErrorDOMException: DataCloneError
An object could not be cloned using the structured clone algorithm.
ERR_CHILD_PROCESS_STDIO_MAXBUFFERA child process produced more output than the maxBuffer limit allows.
The stdout or stderr output from a child process (exec, execFile, execSync) exceeded the default 1 MB maxBuffer limit. The child process may be producing more output than expected.
Increase maxBuffer: exec(cmd, { maxBuffer: 1024 * 1024 * 10 }). Use spawn() instead of exec() for large outputs, as spawn uses streams. Reduce the child process's output. Pipe output to a file instead of buffering.
DOMException: DataCloneErrorAn object could not be cloned using the structured clone algorithm.
EPIPEAn attempt was made to write to a pipe or socket whose reading end has been closed.
ERR_WORKER_OUT_OF_MEMORYA Worker thread ran out of memory.
ReferenceErrorA reference was made to a variable that does not exist in the current scope.
ERR_FS_CP_DIR_TO_NON_DIRAn attempt was made to copy a directory to a non-directory destination.
ReferenceError: Invalid left-hand side in assignmentAn assignment was attempted to something that cannot be assigned to.