Electron-updater does not support enterprise Github
See original GitHub issue- Version: electron: 1.6.11 electron-builder: 19.19.1 electron-updater: 2.8.2
- Target: win & mac
The similar issue is found here. The main problem is electron-updater
doesn’t support enterprise Github. When I use demo code, I always got this
[2017-08-05 10:24:47:0781] [info] App starting...
[2017-08-05 10:24:48:0166] [info] Checking for update
[2017-08-05 10:24:48:0166] [info] Checking for update...
[2017-08-05 10:24:51:0834] [error] Error: Error: Unable to find latest version on GitHub (https://github.***.com/repos/<owner>/<repo>/releases/latest), please ensure a production release exists: HttpError: 406 Not Acceptable
" "
Headers: {
"cache-control": [
"no-cache, no-store"
],
"connection": [
"keep-alive"
],
...
Here is my publish config block
"build": {
...
"publish": [{
"provider": "github",
"host": "github.***.com",
"owner": "<owner>",
"repo": "<repo>",
"token": "<personal access token>"
}]
}
I am using newest electron
libraries
"devDependencies": {
"electron": "1.6.11",
"electron-builder": "19.19.1"
},
"dependencies": {
"electron-log": "2.2.7",
"electron-updater": "2.8.2"
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Issue with electron-updater on github enterprise #7162
I came to conclusion that auto-updater was not using my exported GH_TOKEN variable. which i would export when i would run the builder...
Read more >Electron update fails when using enterprise github #1661
electron-builder: 18.6.2 electron-updater: 2.1.2 target: win I'm trying to use an autoupdater for github, my build has the following block: ...
Read more >fix PrivateGitHubProvider not support enterprise Github
I used private enterprise Github not support get release laster version api. I found GitHubProvider.js is support. So commit this pr #2038, ...
Read more >GitHub Enterprise support · Issue #1225
From Publishing-Artifacts#GithubOptions it seems to assume github.com. Is github enterprise supported? The text was updated successfully, but ...
Read more >Electron Updater: Error checking for updates on Private ...
I have encountered an error running electron-updater against GitHub enterprise: [11:02:13.525] [error] Error: TypeError: Cannot read ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@develar This is the exact problem which I am facing right now. How could I fix this?
@develar I am having a similar problem. How can I change the url from
htps://github.***.com/api/v3/repos/<owner>/<repo>/releases/latest
tohttps://github.***.com/repos/<owner>/<repo>/releases/latest
?