github-tools / github-tools/github

I am getting errors

未关闭
#654 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
3.8k
派生
809
PR 合并指标
30 天内没有已合并 PR

描述

Hey I am getting a ton of errors
```
Promise { }
Hint: hit control+c anytime to enter REPL.
(node:378) UnhandledPromiseRejectionWarning: Error: 401 error making request post https://api.github.com/gists: "Unauthorized"
at new ResponseError (/home/runner/SomberColossalRam/node_modules/github-api/dist/components/Requestable.js:50:118)
at handler (/home/runner/SomberColossalRam/node_modules/github-api/dist/components/Requestable.js:379:18)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:378) 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: 2)
(node:378) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the POST request to https://api.github.com/gists and inspect the authentication configuration used by github-tools/github. Use the Requestable.js stack trace as the entry point; done means identifying the cause of the 401 response and ensuring the rejected promise is handled appropriately.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, javascript, node.js
领域
api, authentication
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。