Closed this issue 5 years ago · 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:
electronService
null
I find solution that setting
new BrowserWindow({ webPreferences: { nodeIntegration: true } });