Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upcannot read appendTo from object after passing file by ipc.send message with electron #970
Comments
This comment has been minimized.
This comment has been minimized.
|
Looks like you already resolved this, but I'll just mention for future google searchers that you can't use Electron's IPC to send across object instances (with methods). The IPC methods serialize the object with the equivalent of |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I try to pass a file by ipc message to play in a DOM with electron, but in the ipc.on method file.appendTo give me an error:
mainWindowUpdater.js:45 Uncaught TypeError: file.appendTo is not a .
I try everithing in my mind but I can make it to work.
Any help?¿