SabakiHQ / Sabaki

An elegant Go board and SGF editor for a more civilized age.
https://sabaki.yichuanshen.de/
MIT License
2.38k stars 375 forks source link

Installation problem: cannot download Electron #821

Open joncol opened 2 years ago

joncol commented 2 years ago

Hi, on a new machine (running Arch Linux btw), I get the following error:

  ⨯ Get "https://github.com/electron/electron/releases/download/v13.2.2/electron-v13.2.2-linux-x64.zip": dial tcp: lookup github.com on [::1]:53: read udp [::1]:45459->[::1]:53: read: connection refused
github.com/develar/app-builder/pkg/download.(*Downloader).follow.func1
        /Volumes/data/Documents/app-builder/pkg/download/downloader.go:206
github.com/develar/app-builder/pkg/download.(*Downloader).follow
        /Volumes/data/Documents/app-builder/pkg/download/downloader.go:234
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadNoRetry
        /Volumes/data/Documents/app-builder/pkg/download/downloader.go:128
github.com/develar/app-builder/pkg/download.(*Downloader).Download
        /Volumes/data/Documents/app-builder/pkg/download/downloader.go:112
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).doDownload
        /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:192
github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).Download
        /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:177
github.com/develar/app-builder/pkg/electron.downloadElectron.func1.1
        /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:73
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
        /Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
        /usr/local/Cellar/go/1.16/libexec/src/runtime/asm_amd64.s:1371
  ⨯ /home/jco/repos/Sabaki/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  failedTask=build stackTrace=Error: /home/jco/repos/Sabaki/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/home/jco/repos/Sabaki/node_modules/builder-util/src/util.ts:249:14)
    at Object.onceWrapper (node:events:514:26)
    at ChildProcess.emit (node:events:394:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

I get the same error both when trying to install the sabaki package from AUR and when running npm run build.

It's weird, since I can access that https://github.com/electron/electron/releases/download/v13.2.2/electron-v13.2.2-linux-x64.zip file in a browser just fine.

Any idea how to fix this?

apetresc commented 2 years ago

That's super-strange, although unlikely to be anything Sabaki can fix; if I'm interpreting that error message correctly, your makepkg process is just unable to connect to github.com...

Are you behind a proxy or VPN or any other sort of exotic networking situation?