Electron is split into a main process and a renderer process. The main process is a Node.js environment with full operating system access, whereas the renderer process does not have access to Node.js by default.
nodeIntegration: false
This strict division is done on purpose for security reasons. A