I am using Electron to make a desktop app. In my app I am loading a an external site (outside Atom app) lets say http://mydummysite/index.html page.
Here is the stru
The same issue happened to me , a simple solution is to add this to your index.js file :
app.on('ready', function() {
var mainWindow = new BrowserWindow({
"node-integration": false
})
//rest of your initialization code here.
})
the issue is caused by node , for more information please refer to this post
Setting node-integration to false will disable node.js in the renderer process - i.e. your app can only do what a web browser will do.