错误

 INFO  Building app with electron-builder:• electron-builder  version=22.11.7 os=4.18.0-193.28.1.el7.aarch64• description is missed in the package.json  appPackageFile=/root/gwAppStore/dist/electron/bundled/package.json• author is missed in the package.json  appPackageFile=/root/gwAppStore/dist/electron/bundled/package.json• writing effective config  file=dist/electron/builder-effective-config.yaml• packaging       platform=linux arch=arm64 electron=13.1.2 appOutDir=dist/electron/linux-arm64-unpacked• building        target=AppImage arch=arm64 file=dist/electron/test-1.2.3-arm64.AppImage• application Linux category is set to default "Utility"  reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux• default Electron icon is used  reason=application icon is not set⨯ 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/libexec/src/runtime/proc.go:225
runtime.goexit/usr/local/Cellar/go/1.16/libexec/src/runtime/asm_arm64.s:1130
ExecError: /root/gwAppStore/node_modules/app-builder-bin/linux/arm64/app-builder exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTEat ChildProcess.<anonymous> (/root/gwAppStore/node_modules/builder-util/src/util.ts:249:14)at Object.onceWrapper (events.js:482:26)at ChildProcess.emit (events.js:375:28)at maybeClose (internal/child_process.js:1055:16)at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {exitCode: 1,alreadyLogged: false,code: 'ERR_ELECTRON_BUILDER_CANNOT_EXECUTE'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! test@1.2.3 electron:build: `vue-cli-service electron:build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the test@1.2.3 electron:build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2021-07-26T06_14_24_849Z-debug.log

原因,网络因素导致无法下载到https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.1/appimage-12.0.1.7z

解决

export ELECTRON_BUILDER_BINARIES_MIRROR=https://mirrors.huaweicloud.com/electron-builder-binaries/

Get “https://github.com/electron-userland/electron-builder-binaries/releases/download/appimage-12.0.相关推荐

  1. 已解决Cannot download “https://github.com/sass/node-sass/releases/download/v4.12.0/win32-x64-83_binding

    文章目录 问题 解决方法 问题 执行npm install时,遇到下面的错误: Downloading binary from https://github.com/sass/node-sass/re ...

  2. sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.22.0/docker-compose-`uname -

    sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.22.0/docker-compose-`uname - ...

  3. GitHub 开源跨平台神器 Electron 实践 | 技术头条

    作者 | 李小明 责编 | 屠敏 认识 Electron Electron是由GitHub开发,用HTML.CSS 和 JavaScript来构建跨平台桌面应用程序的一个开源库.Electron通过将 ...

  4. GitHub 开源跨平台神器 Electron 实践

    认识 Electron Electron是由GitHub开发,用HTML.CSS 和 JavaScript来构建跨平台桌面应用程序的一个开源库.Electron通过将Chromium和Node.js合 ...

  5. vue初始化项目出现unable to access ‘https://github.com/nhn/raphael.git/’解决有效 2021-12-30

    vue初始化项目出现 npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: ...

  6. Github Action 快速构建 Electron 应用

    前言 在开发 Electron 应用时,比较耗时的部分应该是构建打包的过程,像用 electron-builder 这种打包工具来说,它会根据你要打包的系统来下载应用的系统镜像打包工具,由于这些镜像的 ...

  7. 开发黑名单功能demo_突然让你开发Electron应用-electron特性练习操场-所见即所得的electron...

    突然让你开发Electron应用,你能hold住吗? 如果领导突然说需要开发一款前端桌面端应用,那么对于我们前端er来说选择Electron是一件顺理成章的事情.但事实上很多同学对于Electron都 ...

  8. 【Electron】Electron开发入门(九):添加Flash插件

    一.Electron官方开启Flash插件说明:https://electronjs.org/docs/tutorial/using-pepper-flash-plugin 看了这篇文章,并且各种操作 ...

  9. https://github.com/Wechat-Group/WxJava 使用记录

    GITHUB地址 https://github.com/Wechat-Group/WxJava 微信公众号开发 下载demo代码参考 https://gitee.com/binary/weixin-j ...

  10. android视频缓存框架 [AndroidVideoCache](https://github.com/danikula/AndroidVideoCache) 源码解析与评估

    文章目录 android视频缓存框架 [AndroidVideoCache](https://github.com/danikula/AndroidVideoCache) 源码解析与评估 引言 使用方 ...

最新文章

  1. ThinkPhp插入数据到数据库
  2. 中级统计师基础知识中计算机,2009年全国中级统计专业技术资格考试大纲
  3. luogu P1037 【产生数】
  4. python3发送https请求_关于python 3.x:如何在不引起python3的SSL证书错误的情况下将POST请求发送到https...
  5. 阿里云低代码行业智能开放平台开拓行业AI应用新方法
  6. 客户端通过网口启动可过去的ip_西安交通大学16年3月课程考试《网络组网技术综合训练》作业考核试题...
  7. 马哥运维学习作业(九)
  8. 【Django 2021年最新版教程12】GET POST请求参数 如何接收、判空、默认值
  9. python smooth函数_利用Python程序完成ABAQUS中的一些重复性操作
  10. 计算机网络三种模型(OSI模型、TCP/IP模型、五层通用模型)、各层作用
  11. cad无法安装_CAD软件下载好了,为什么安装不上?有两个原因,解决方法在这
  12. 快速应对面试--分门别类--8.二叉树和递归
  13. 5.12 按照多个条件进行组合排序 [原创Excel教程]
  14. Android 中网络连接检测和使用ping检测网络是否可访问
  15. 键盘录入两个整数,分别赋值给int变量x,y然后比较x和y的大小
  16. IEC60950测试和电子电器安规测试设备
  17. 1018: 奇数偶数 Python
  18. 测绘技术设计规定最新版_2016测绘技术设计规定.doc
  19. 使用Docker打包镜像并发布
  20. java 好和不好的形容词 英语怎么说_不好的英文性格形容词

热门文章

  1. 计算机应用基础压缩文件操作题目演示,计算机应用基础操作题题目
  2. 一刹那,是幡然悔悟的一刹那
  3. obs摄像头模糊_【OBS虚拟摄像头插件】OBS虚拟摄像头下载OBS VirtualCam v2020 官方版-趣致软件园...
  4. Android本地数据搜索实现
  5. jdbc mysql preparedstatement_java.sql.PreparedStatement不能转换为com.mysql.jdbc.PreparedStatement...
  6. 谁说游戏里的建模都是贴图?细数那些可以肆意破坏场景的单机大作
  7. ASP中Split分割字符串函数的实例用法
  8. JavaFX+Kotlin游戏从入门到放弃:拯救蛇蛇大作战又名454行实现几何数独游戏
  9. 【Codeforces思维题】20220728
  10. 移动硬盘插上电脑卡住_插入移动硬盘死机故障分析及解决方案(图文详解)