why does it say require is not defines code example
Example: why does it say require is not defines
// 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,
}
});
});