github-tools / github-tools/github
I am getting errors
- Langage dominant
- JavaScript
- Étoiles
- 3.8k
- Forks
- 809
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire la requête POST vers https://api.github.com/gists et examinez la configuration d’authentification utilisée par github-tools/github. Utilisez la trace de la pile de Requestable.js comme point d’entrée ; le travail est terminé lorsque la cause de la réponse 401 a été identifiée et que la promesse rejetée est correctement gérée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, javascript, node.js
- Domaine
- api, authentication
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100