EMFILEEMFILE: Too many open files
The process has reached the maximum number of open file descriptors allowed.
DOMException: DataCloneErrorAn object could not be cloned using the structured clone algorithm.
You tried to clone or transfer an object that contains non-cloneable data. Functions, DOM nodes, Error objects, and certain built-in objects cannot be cloned via structuredClone(), postMessage(), or IndexedDB.
Remove non-cloneable properties (functions, DOM nodes) before cloning. Serialize the data to JSON first if possible. For postMessage, only send serializable data. Use transferable objects (ArrayBuffer) for efficient transfers.
// Cannot clone functions via structuredClone or postMessage
structuredClone({ fn: () => {} }); // DataCloneErrorEMFILEThe process has reached the maximum number of open file descriptors allowed.
TypeError: Cannot set properties of undefined/nullAn attempt was made to set a property on undefined or null.
SyntaxErrorThe JavaScript engine encountered code that does not conform to the language syntax.
TypeError: Converting circular structure to JSONJSON.stringify() encountered an object with circular references that cannot be serialized to JSON.
SyntaxError: Missing ) after argument listA function call is missing its closing parenthesis.
EISDIRA file operation was attempted on a path that is a directory.