Electronjs Require Is Not Defined

Source URL: https://stackoverflow.com/questions/55093700/electron-5-0-0-uncaught-referenceerror-require-is-not-defined

Language: javascript

Created on: 2021-04-17 16:30:34

 webPreferences: {
      nodeIntegration: true,
      contextIsolation: false,
      enableRemoteModule: true,
I had initially been using electron stable (4.x.x), and was able to use require in both my browser and renderer processes. I upgraded to electron beta (5.0.0) because I needed a newer version of no...