I'm new in Electron.. and i just following this guide: https://www.geeksforgeeks.org/integrate-angular-7-with-electronjs/?ref=rp
but, i don't know why, i can't continue the step 4, on accessing the electron, and keep popping this when doing build or even just serve.
Error: node_modules/electron/electron.d.ts:6594:21 - error TS2694: Namespace 'NodeJS' has no exported member 'Require'.
6594 require: NodeJS.Require; ~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pemberkasan@0.2.0 electron: ng build --prod && electron .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pemberkasan@0.2.0 electron script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
i hope anyone here, understand with this and able to solve this. thank you! because my goal is to connect ipcMain, using ipcRenderer that i triggered on Angular Services.