DEV Community

Discussion on: Integrating an Angular-CLI application with Electron - The IPC

Collapse
 
matteogheza profile image
MatteoGheza • Edited

To everyone having issues with "Electron's IPC was not loaded":
You need to add contextIsolation: false to webPreferences.
Example:

webPreferences: {
      nodeIntegration: true,
      contextIsolation: false
}
Enter fullscreen mode Exit fullscreen mode

It worked for me.

Collapse
 
jeevanavt profile image
Jeevan Antony Varghese

Thanks