require is not define on html script

98

require is not define on html script -

mainWindow = new BrowserWindow({
        webPreferences: {
            nodeIntegration: true
        }
    });

Comments

Submit
0 Comments