Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update not working #3368

Closed
mhomam opened this issue Oct 6, 2018 · 1 comment
Closed

Update not working #3368

mhomam opened this issue Oct 6, 2018 · 1 comment

Comments

@mhomam
Copy link

mhomam commented Oct 6, 2018

  • ** 20.28.4**:

electron-builder: 20.28.4 & electron-updater: 3.1.2

  • Both macOS & Windows:

I am using autoUpdater from electron-builder. But the app is not updating. I am getting the below errors.

Unhandled rejection TypeError: options.cancellationToken.createPromise is not a function
at /Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/electronHttpExecutor.ts:19:44
at Generator.next ()
From previous event:
at ElectronHttpExecutor.download (/Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/electronHttpExecutor.ts:14:76)
at Object.task (/Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/MacUpdater.ts:44:34)
at /Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/AppUpdater.ts:570:25
at Generator.throw ()
From previous event:
at MacUpdater.executeDownload (/Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/AppUpdater.ts:487:68)
at /Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/MacUpdater.ts:39:23
From previous event:
at MacUpdater.doDownloadUpdate (/Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/MacUpdater.ts:22:80)
at /Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/AppUpdater.ts:393:25
at Generator.next ()
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)
From previous event:
at MacUpdater.downloadUpdate (/Users/homam/Development/Electron/HompathElectron/node_modules/electron-updater/src/AppUpdater.ts:382:86)
at EventEmitter.ipcMain.on (/Users/homam/Development/Electron/HompathElectron/index.js:430:15)
at emitTwo (events.js:126:13)
at EventEmitter.emit (events.js:214:7)
at WebContents. (/Users/homam/Development/Electron/HompathElectron/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/browser/api/web-contents.js:286:13)
at emitTwo (events.js:126:13)
at WebContents.emit (events.js:214:7)

@framerate
Copy link

could be related to #3377

@mhomam mhomam closed this as completed Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants