ThorstenHans/ngx-electron

ipcRenderer is null

Closed this issue · 1 comments

I have added ngx-electron to my project and build up successfully.

When I console the electronService, I find a lot of attributes are null like below:

image

I find solution that setting

new BrowserWindow({ webPreferences: { nodeIntegration: true } });