Dlaczego, jak twierdzi, że wymaga nie definiuje
// In the Main.js file in electron
app.on('ready', () => {
mainWindow = new BrowserWindow({
// Add these lines of code and it should start working
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
}
});
});
Wicked Wombat