element win打包出错相关的问题有electron-builder
``
• electron-builder version=21.2.0 os=10.0.18363
• loaded configuration file=package.json ("build" field)
• writing effective config file=release\builder-effective-config.yaml
• installing production dependencies platform=win32 arch=x64 appDir=D:\jobs\electron\pc-chat\dist
• packaging platform=win32 arch=x64 electron=4.2.12 appOutDir=release\win-unpacked
• downloading url=https://github.com/electron-userland/electron-builder-binaries/releases/download/winCodeSign-2.5.0/winCodeSign-2.5.0.7z size=5.6 MB parts=1
• retrying attempt=1
• retrying attempt=2
• retrying attempt=3
⨯ part download request failed with status code 403
github.com/develar/app-builder/pkg/download.(*Part).doRequest
/Volumes/data/Documents/app-builder/pkg/download/Part.go:126
github.com/develar/app-builder/pkg/download.(*Part).download
/Volumes/data/Documents/app-builder/pkg/download/Part.go:67
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:107
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.12.7/libexec/src/runtime/asm_amd64.s:1337
⨯ D:\jobs\electron\pc-chat\node_modules\_app-builder-bin@3.4.3@app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace=
``
我未能解决的事没法fq.,用国内的镜像安装好像出错。
除了淘宝的镜像,有其它镜像可以安装相关的依赖包吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
自我解决的方法的过程
1、我买了FQ,然后npm i 一路上,没用。
2、现在是中国时间早上9点多,在美国那边时间是晚上,github突然跑通了。能直接打出来,让我有点惊喜诺狂的感觉,所以fq算是白买了。
• packaging platform=linux arch=armv7l electron=2.0.18 appOutDir=buildlinux-armv7l-unpacked
• scheduling remote build target=snap arch=armv7l
• cannot get, wait attempt=0 error=Get https://service.electron.buil...: dial tcp 51.15.76.176:443: connectex: No connection could be made because the target machine actively refused it. waitTime=2
• cannot get, wait attempt=1 error=Get https://service.electron.buil...: dial tcp 51.15.76.176:443: connectex: No connection could be made because the target machine actively refused it. waitTime=4
• cannot get, wait attempt=2 error=Get https://service.electron.buil...: dial tcp 51.15.76.176:443: connectex: No connection could be made because the target machine actively refused it. waitTime=6
⨯ Get https://service.electron.buil...: dial tcp 51.15.76.176:443: connectex: No connection could be made because the target machine actively refused it.
Error: F:garbagenode_modulesapp-builder-binwinx64app-builder.exe exited with code 1
From previous event:
From previous event:
From previous event:
From previous event:
From previous event:
From previous event:
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/c... for documentation about this command.
请问这个问题怎么解决