https://github.com/adam-lynch/developing-an-electron-edge/blob/e46d2119c0ec7a2fd51ca1e2197beab5712050c6/05-BuildingARealDesktopApp/index.js#L3 I had to use: `const { dialog } = require('electron').remote;` Or in your case: `const dialog = remote.dialog;`