Error using electron-updater: this.emitError is not a function


#1

I’ve created a distributable (.exe) file with Squirrel for Windows, and i’m running into this error:

Uncaught Exception:
TypeError: this.emitError is not a function
at App.checkForUpdates
(…electron.asar/brow…:19)
at emitTwo (events.js:111:20)
at App.emit (events.js:191:7)