showing results for - "why does it say require is not defines"
Isaac
29 May 2016
1// In the Main.js file in electron
2app.on('ready', () => {
3    mainWindow = new BrowserWindow({
4      // Add these lines of code and it should start working
5        webPreferences: {
6            nodeIntegration: true,
7            contextIsolation: false,
8        }
9    });
10});