You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Results in: Object prototype may only be an Object or null: undefined
This happens because const {ipcRenderer} = electron; is resulting in undefined when running outside the renderer process - for example when building / prerendering 鈽猴笍
Hi
First of all, thank you so much for this very convenient IPC wrapper 馃檹馃徎
I've just integrated it to my project and everything is working flawlessly... almost!
Unfortunately I'm having an issue when building my renderer project.
This line:
electron-better-ipc/source/renderer.js
Line 6 in e78c355
Results in:
Object prototype may only be an Object or null: undefined
This happens because鈽猴笍
const {ipcRenderer} = electron;
is resulting inundefined
when running outside the renderer process - for example when building / prerenderingCould be the same issue causing #15
The text was updated successfully, but these errors were encountered: