当前位置:网站首页>Electronic builder package error: proxyconnect TCP: Dial TCP: 0: connectex
Electronic builder package error: proxyconnect TCP: Dial TCP: 0: connectex
2022-04-23 07:48:00 【Brother Bing】
Error code :
$ electron-builder --win --x64
• electron-builder version=23.0.3 os=10.0.19044
• loaded configuration file=package.json ("build" field)
• description is missed in the package.json appPackageFile=D:\Demo\electron-vue3\package.json
• writing effective config file=D:\build\electron\builder-effective-config.yaml
• packaging platform=win32 arch=x64 electron=18.1.0 appOutDir=D:\build\electron\win-unpacked
⨯ Get "https://github.com/electron/electron/releases/download/v18.1.0/electron-v18.1.0-win32-x64.zip": proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.
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.17/libexec/src/runtime/asm_amd64.s:1581
⨯ D:\Demo\electron-vue3\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1 failedTask=build stackTrace=Error: D:\Demo\electron-vue3\node_modules\app-builder-bin\win\x64\app-builder.exe process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Exit code:
1
at ChildProcess.<anonymous> (D:\Demo\electron-vue3\node_modules\builder-util\src\util.ts:250:14)
at Object.onceWrapper (events.js:520:26)
at ChildProcess.emit (events.js:400:28)
at ChildProcess.cp.emit (D:\Demo\electron-vue3\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (internal/child_process.js:1058:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
resolvent :
Browser download electron
package , Put it in the C:\Users\ user name \AppData\Local\electron\Cache
Under the directory .
版权声明
本文为[Brother Bing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230625584773.html
边栏推荐
猜你喜欢
Online Safe Trajectory Generation For Quadrotors Using Fast Marching Method and Bernstein Basis Poly
js之排他思想及案例
使用flask时代码无报错自动结束,无法保持连接,访问不了url。
'NPM' is not an internal or external command, nor is it a runnable program or batch file
基于NLP的软件安全研究(一)
设置了body的最大宽度,但是为什么body的背景颜色还铺满整个页面?
Custom time format (yyyy-mm-dd HH: mm: SS week x)
SAP Excel 已完成文件级验证和修复。此工作簿的某些部分可能已被修复或丢弃。
SAP PI / Po rfc2restful Publishing RFC interface as restful examples (proxy indirect)
Configure NPM
随机推荐
C operation registry full introduction
Custom time format (yyyy-mm-dd HH: mm: SS week x)
The page displays the current time in real time
对js中argumens的简单理解
向量到一个平面的投影向量
One of event management
学会使用搜索引擎
js之排他思想及案例
js之节点操作,为什么要学习节点操作
Teach-Repeat-Replan: A Complete and Robust System for Aggressive Flight in Complex Environments
简单理解==和equals,String为什么可以不用new
Simple random roll call lottery (written under JS)
c#读取INI文件和向ini文件写入数据
Towords Open World Object Detection
根据某一指定的表名、列名及列值来向前或向后N条查相关列值的SQL自定义标量值函数
大学学习路线规划建议贴
js之什么是事件?事件三要素以及操作元素
驼峰命名对像
js之预解析
Online Safe Trajectory Generation For Quadrotors Using Fast Marching Method and Bernstein Basis Poly