Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

I used to have the same error when tried to use electron, the solution so far was to create the electron window like this (readed from here). hope it helps

new electron.BrowserWindow({
  width: 800,
  height: 600,
  useContentSize: true,
  webPreferences: {
    nodeIntegration: false
  },
});

That worked, thank you.