我是 Gitkraken 新手,想要与 Gitlab 集成。
当我进入“首选项”->“集成”->“Gitlab”并单击“连接到 Gitlab”时,没有任何反应。我预计会打开一个浏览器窗口,提示我输入我的 Gitlab 凭据。
备注:
Request OAuth token from GitLab: started.
Request OAuth token from GitLab: invalid token
Request OAuth token from GitLab: finished with errors.
(node:70656) UnhandledPromiseRejectionWarning: Error: invalid token
at authenticateSaga (<embedded>:10:422633)
at authenticateSaga.next (<anonymous>)
at next (<embedded>:161:2671290)
at currCb (<embedded>:161:2671915)
at takeCb (<embedded>:161:2661241)
at Object.put (<embedded>:161:2659312)
at <embedded>:161:2675552
at WebSocket.connection.onmessage (<embedded>:10:421538)
at WebSocket.onMessage (/usr/share/gitkraken/resources/app.asar/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (events.js:310:20)
at WebSocket.EventEmitter.emit (domain.js:482:12)
at Receiver.receiverOnMessage (/usr/share/gitkraken/resources/app.asar/node_modules/ws/lib/websocket.js:834:20)
at Receiver.emit (events.js:310:20)
at Receiver.EventEmitter.emit (domain.js:482:12)
at Receiver.dataMessage (/usr/share/gitkraken/resources/app.asar/node_modules/ws/lib/receiver.js:437:14)
at Receiver.getData (/usr/share/gitkraken/resources/app.asar/node_modules/ws/lib/receiver.js:367:17)
(node:70656) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
我正在使用 Fedora 35 并在 Gitkraken 中创建了一个新的 SSH 密钥(但我假设在我通过 Gitlab 进行身份验证之前不会使用它)。
我做错了什么吗?
我也遇到同样的问题,请问你解决了吗?谢谢