gpt4 book ai didi

electron - 用 Electron 生成器发布到github

转载 作者:行者123 更新时间:2023-12-03 12:41:40 25 4
gpt4 key购买 nike

当我测试发布github时,出现此错误write ECONNRESET at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:87:16)
这是我的代码

{
"name": "app",
"version": "1.0.0",
"description": "A minimal Electron application",
"main": "main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder",
"publish": "electron-builder --publish always"
},
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"electron": "^8.0.0",
"electron-builder": "^22.3.2"
},
"repository": {
"type" : "git",
"url" : "https://github.com/Fizo55/app.git"
},
"build": {
"appId": "com.fizo55.app",
"productName": "app",
"target": "NSIS",
"directories": {
"output": "build"
},
"publish": [
{
"provider": "github",
"private": true,
"owner": "Fizo55",
"repo": "app",
"token": "mytoken"
}
],
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
}
}
}

谢谢你的帮助

最佳答案

经过一些测试,这是我的连接问题,我打开了4G,现在它可以正常工作了。

关于electron - 用 Electron 生成器发布到github,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60193118/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com