Closed ArkanNibrastama closed 1 year ago
Make sure you add nodeIntegration:true to your mainWindow by adding :
const mainWindow = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: true } })
to createWindow() inside main.js
how to solve error "request is not defined"?