onblog/BlogHelper

kali x64安装失败

gh503 opened this issue · 0 comments

gh503 commented
  1. 你使用的操作系统是:
    kali x64 2022.4

  2. 你使用的本软件版本号是:
    git pull master最新版本

  3. 请详细叙述你的问题:
    kali x64安装失败

  4. 用于问题复现的数据:

$ cat .git/config     
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://gitcode.net/mirrors/onblog/BlogHelper.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master
       

npm install 成功

执行报错

$ npm run dist                                  

> blog-helper@1.0.30 dist
> rm -rf ./dist && electron-builder

  • electron-builder  version=22.14.13 os=6.0.0-kali6-amd64
  • loaded configuration  file=package.json ("build" field)
  • description is missed in the package.json  appPackageFile=/data/code/04-开源项目学习/BlogHelper/package.json
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=11.5.0 appOutDir=dist/linux-unpacked
  • downloading     url=https://github.com/electron/electron/releases/download/v11.5.0/electron-v11.5.0-linux-x64.zip size=76 MB parts=8
  • downloaded      url=https://github.com/electron/electron/releases/download/v11.5.0/electron-v11.5.0-linux-x64.zip duration=10m4.45s
  • building        target=AppImage arch=x64 file=dist/写作助手-1.0.30.AppImage
  ⨯ Get "https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z": EOF
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/download.DownloadArtifact
	/Volumes/data/Documents/app-builder/pkg/download/artifactDownloader.go:107
github.com/develar/app-builder/pkg/linuxTools.GetAppImageToolDir
	/Volumes/data/Documents/app-builder/pkg/linuxTools/tool.go:16
github.com/develar/app-builder/pkg/package-format/appimage.AppImage
	/Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:89
github.com/develar/app-builder/pkg/package-format/appimage.ConfigureCommand.func1
	/Volumes/data/Documents/app-builder/pkg/package-format/appimage/appImage.go:59
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:90
runtime.main
	/usr/local/Cellar/go/1.16.5/libexec/src/runtime/proc.go:225
runtime.goexit
	/usr/local/Cellar/go/1.16.5/libexec/src/runtime/asm_amd64.s:1371  
  ⨯ /data/code/04-开源项目学习/BlogHelper/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE  failedTask=build stackTrace=Error: /data/code/04-开源项目学习/BlogHelper/node_modules/app-builder-bin/linux/x64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/data/code/04-开源项目学习/BlogHelper/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:628:26)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)