question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[electron-updater] response from Generic Provider getLatestVersion becomes [ 'Object object' ]

See original GitHub issue
  • Version: electron-builder 19.16.0

electron-updater 2.7.1

  • Target: Windows 64bit

Look like something wrong with the call to HttpExecutor in Generic Provider.

result = safeLoad(await this.executor.request<string>(options))

result objects becomes [‘Object object’] instead of the proper json that has been returned.

Reverting to electron-updater 1.15.0, where HttpExecutor is not used, fixes this issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Jul 25, 2017

Please try new version.

0reactions
vuamitomcommented, Jul 31, 2017

Thank you, that was a quick fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron auto updater setup with own server (generic provider)
I was able to set up an auto update configuration using a generic publish option following the docs, having never done it before....
Read more >
Automated Malware Analysis Report for pK6oGXjugD.exe
Build up the default `inspectOpts` object from the environment variables.. *. * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js.
Read more >
Auto Update - electron-builder
Events¶. The autoUpdater object emits the following events: ... info UpdateInfo (for generic and github providers) | VersionInfo (for Bintray provider).
Read more >
electron-publish: Versions | Openbase
electron-updater: allow custom update providers (#5984) (86a538b), ... response from Generic Provider getLatestVersion becomes [ 'Object object' ] (8a0d075) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found