There's an invalid syntax while passing the options to the BrowserWindow
constructor here. You should wrap webReferences
in the object literal (note the additional curly braces):
let winThree = new BrowserWindow({
webPreferences: {
nodeIntegration: true
}
});
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments