Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包报错了 #73

Open
cxf1112 opened this issue Jul 6, 2021 · 3 comments
Open

打包报错了 #73

cxf1112 opened this issue Jul 6, 2021 · 3 comments

Comments

@cxf1112
Copy link

cxf1112 commented Jul 6, 2021

OKAY take it away electron-builder

• electron-builder version=19.56.2
• loaded configuration file=package.json ("build" field)
• writing effective config file=build\electron-builder.yaml
• no native production dependencies
• packaging platform=win32 arch=x64 electron=1.8.8 appOutDir=build\win-unpacked
• downloading path=C:\Users\zjzl\AppData\Local\electron-builder\cache\app-builder\app-builder-v0.6.1-x64 url=https://github.com/develar/app-builder/releases/download/v0.6.1/app-builder-v0.6.1-win-x64.7z
• cannot download: Error: connect ETIMEDOUT 13.229.188.59:443 path=C:\Users\zjzl\AppData\Local\electron-builder\cache\app-builder\app-builder-v0.6.1-x64 attempt=1
Error: connect ETIMEDOUT 13.229.188.59:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
From previous event:
at CancellationToken.createPromise (F:\electron\electron-vue-admin-master\node_modules\builder-util-runtime\src\CancellationToken.ts:51:5)
at F:\electron\electron-vue-admin-master\node_modules\builder-util\src\nodeHttpExecutor.ts:23:44
at Generator.next ()
at processImmediate (internal/timers.js:462:21)
From previous event:
at NodeHttpExecutor.download (F:\electron\electron-vue-admin-master\node_modules\builder-util\out\nodeHttpExecutor.js:144:11)
at Timeout._onTimeout (F:\electron\electron-vue-admin-master\node_modules\builder-util\src\binDownload.ts:83:14)
at listOnTimeout (internal/timers.js:555:17)
at processTimers (internal/timers.js:498:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node .electron-vue/build.js && electron-builder
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! C:\Users\zjzl\AppData\Roaming\npm-cache_logs\2021-07-06T07_33_58_304Z-debug.log

@cxf1112
Copy link
Author

cxf1112 commented Jul 6, 2021

大佬,帮忙看下什么问题?

@andotorg
Copy link

下载失败,连上VPN

@andotorg
Copy link

https://github.com/andotorg/electron-vue-app-template

通过我这种方式会更好些

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants