github-tools / github-tools/github

I am getting errors

Aberta
#654 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
3.8k
Forks
809
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.```

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Comece reproduzindo a requisição POST para https://api.github.com/gists e inspecione a configuração de autenticação usada por github-tools/github. Use o stack trace de Requestable.js como ponto de entrada; o trabalho estará concluído quando a causa da resposta 401 for identificada e for garantido que a promise rejeitada seja tratada adequadamente.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github, javascript, node.js
Domínio
api, authentication
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.