electron-userland / electron-builder-binaries

172 stars 60 forks source link

⨯ cannot resolve .../nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503 #22

Open gluneau opened 5 years ago

gluneau commented 5 years ago

TL;DR: Trying to build all targets for electron prompts a request for a missing package.

⨯ cannot resolve https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503

quasar build -m electron --target all

 Build mode........ electron
 Quasar theme...... mat
 Quasar CLI........ v0.17.23
 Quasar Framework.. v0.17.19
 Debugging......... no

 app:quasar-conf Reading quasar.conf.js +0ms
 app:webpack Extending Renderer process Webpack config +1s
 app:webpack Extending Main process Webpack config +1ms
 app:artifacts Cleaned build artifact: "dist/electron-mat" +2ms
 app:generator Generating Webpack entry point +1ms
 app:build Building... +2ms

Version: webpack 4.25.1
Time: 8395ms
Built at: 01/31/2019 4:55:57 PM
           Asset      Size  Chunks             Chunk Names
electron-main.js  13.5 KiB       0  [emitted]  electron-main
    package.json  1.14 KiB          [emitted]  
Entrypoint electron-main = electron-main.js

 app:electron Bundling app with electron-builder... +2ms

  • electron-builder version=20.38.5
  • writing effective config file=dist/electron-mat/Packaged/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=linux arch=x64 electron=4.0.3 appOutDir=dist/electron-mat/Packaged/linux-unpacked
  • building        target=deb arch=x64 file=dist/electron-mat/Packaged/Verto_0.0.1_amd64.deb
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=4.0.3 appOutDir=dist/electron-mat/Packaged/win-unpacked
  • downloading               parts=8 size=61 MB url=https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-win32-x64.zip
  • downloaded                duration=16.153s url=https://github.com/electron/electron/releases/download/v4.0.3/electron-v4.0.3-win32-x64.zip
  • downloading               parts=1 size=5.6 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • downloaded                duration=1.953s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.4.0/winCodeSign-2.4.0.7z
  • building        target=nsis file=dist/electron-mat/Packaged/Verto Setup 0.0.1.exe archs=x64 oneClick=true perMachine=false
  • downloading               parts=1 size=1.4 MB url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.3.2/nsis-3.0.3.2.7z
  • downloaded                duration=1.088s url=https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-3.0.3.2/nsis-3.0.3.2.7z
  ⨯ cannot resolve https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.3.0/nsis-resources-3.3.0.7z: status code 503
github.com/develar/app-builder/pkg/download.(*Downloader).follow
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:203
github.com/develar/app-builder/pkg/download.(*Downloader).Download
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:75
github.com/develar/app-builder/pkg/download.DownloadArtifact
    /Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:106
github.com/develar/app-builder/pkg/download.ConfigureArtifactCommand.func1
    /Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:26
github.com/alecthomas/kingpin.(*actionMixin).applyActions
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
    /Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222
main.main
    /Volumes/data/Documents/app-builder/main.go:78
runtime.main
    /usr/local/Cellar/go/1.11.4/libexec/src/runtime/proc.go:201
runtime.goexit
    /usr/local/Cellar/go/1.11.4/libexec/src/runtime/asm_amd64.s:1333

 app:electron ⚠️  [FAIL] electron-builder could not build +0ms

Error: node_modules/app-builder-bin/linux/x64/app-builder exited with code 1

(node:28988) UnhandledPromiseRejectionWarning: undefined
(node:28988) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:28988) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
aziztitu commented 2 years ago

Hey @gluneau, were you able to figure out what was wrong with this, or find a solution?