Open VaZark opened 5 years ago
For my case, the log before this error message shows the downloading process has failed, something like this:
• packaging platform=linux arch=x64 electron=5.0.6 appOutDir=dist/linux-unpacked
• building target=deb arch=x64 file=dist/bigbang-wallet_0.1.0_amd64.deb
⨯ Get https://github-production-release-asset-2e65be.s3.amazonaws.com/65527128/8187de64-0380-11e8-8b0a-740414019652?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191101%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191101T033938Z&X-Amz-Expires=300&X-Amz-Signature=4b1c528307264919758099cec0288a77d69e4b4afb53d8f2511d2c7d2e666d65&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfpm-1.9.3-2.3.1-linux-x86_64.7z&response-content-type=application%2Foctet-stream: dial tcp 52.216.65.72:443: connect: connection timed out
github.com/develar/app-builder/pkg/download.(*Downloader).follow.func1
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:158
github.com/develar/app-builder/pkg/download.(*Downloader).follow
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:186
github.com/develar/app-builder/pkg/download.(*Downloader).Download
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:80
github.com/develar/app-builder/pkg/download.DownloadArtifact
/Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:107
github.com/develar/app-builder/pkg/download.DownloadFpm
/Volumes/data/Documents/app-builder/pkg/download/tool.go:28
github.com/develar/app-builder/pkg/package-format/fpm.ConfigureCommand.func1
/Volumes/data/Documents/app-builder/pkg/package-format/fpm/fpm.go:40
github.com/alecthomas/kingpin.(*actionMixin).applyActions
/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28
I got this fixed referencing this issue: https://github.com/electron-userland/electron-builder/issues/1859
这里有详细的描述解决了此问题 https://juejin.cn/post/6901564623091138567/
I've tried creating an executable with
yarn dist
immediately after cloning and running install. However, there seems to be some setup error wrt to electron-builder.Setup : electron-builder version=21.0.11 os=10.0.15063 packaging platform=win32 arch=x64 electron=5.0.6 appOutDir=dist\win-unpacked
Error response :