Unable To Pass Objects/Arrays in IPCRenderer, An object could not be cloned EventEmitter.i.send.i.send
问题 I am unable to pass any object or arrays to IPCRenderer. I am getting error when passing an object or array through ipcs, I have even tried to send by converting to string using JSON.stringify but it converts it into empty object string. I have tried passing a fileList, an array of object & even an object nothing passes. only string or handwritten objects are working. I've read that it uses Structured Clone Algorithm and fileList & Array is allowed by this algorithm ERROR: electron/js2c