Error: Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B532:514E:9D31833:9F4D8A8:652D0C6F` when reporting this issue.: {"response":{"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `B532:514E:9D31833:9F4D8A8:652D0C6F` when reporting this issue."}],"status":502},"request":{"query":"query ($searchQuery: String!, $first: Int, $after: String) {\n search(query: $searchQuery, type: REPOSITORY, first: $first, after: $after) {\n nodes {\n ... on Repository {\n nameWithOwner\n description\n url\n createdAt\n assignableUsers {\n totalCount\n }\n watchers {\n totalCount\n }\n stargazerCount\n projects {\n totalCount\n }\n issues {\n totalCount\n }\n pullRequests {\n totalCount\n }\n diskUsage\n licenseInfo {\n spdxId\n }\n languages(first: 5) {\n edges {\n node {\n name\n }\n }\n }\n primaryLanguage {\n name\n }\n environments(first: 5) {\n edges {\n node {\n name\n }\n }\n }\n submodules(first: 5) {\n edges {\n node {\n name\n }\n }\n }\n repositoryTopics(first: 5) {\n edges {\n node {\n topic {\n name\n }\n }\n }\n }\n }\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}","variables":{"searchQuery":"query-string created:2021-01-06","first":50,"after":null}}}
at GraphQLClient.<anonymous> (/home/bdr/src/GitHubMines/node_modules/graphql-request/dist/src/index.js:116:35)
at step (/home/bdr/src/GitHubMines/node_modules/graphql-request/dist/src/index.js:40:23)
at Object.next (/home/bdr/src/GitHubMines/node_modules/graphql-request/dist/src/index.js:21:53)
at fulfilled (/home/bdr/src/GitHubMines/node_modules/graphql-request/dist/src/index.js:12:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
response: { data: null, errors: [ [Object] ], status: 502 },
request: {
query: 'query ($searchQuery: String!, $first: Int, $after: String) {\n' +
' search(query: $searchQuery, type: REPOSITORY, first: $first, after: $after) {\n' +
' nodes {\n' +
' ... on Repository {\n' +
' nameWithOwner\n' +
' description\n' +
' url\n' +
' createdAt\n' +
' assignableUsers {\n' +
' totalCount\n' +
' }\n' +
' watchers {\n' +
' totalCount\n' +
' }\n' +
' stargazerCount\n' +
' projects {\n' +
' totalCount\n' +
' }\n' +
' issues {\n' +
' totalCount\n' +
' }\n' +
' pullRequests {\n' +
' totalCount\n' +
' }\n' +
' diskUsage\n' +
' licenseInfo {\n' +
' spdxId\n' +
' }\n' +
' languages(first: 5) {\n' +
' edges {\n' +
' node {\n' +
' name\n' +
' }\n' +
' }\n' +
' }\n' +
' primaryLanguage {\n' +
' name\n' +
' }\n' +
' environments(first: 5) {\n' +
' edges {\n' +
' node {\n' +
' name\n' +
' }\n' +
' }\n' +
' }\n' +
' submodules(first: 5) {\n' +
' edges {\n' +
' node {\n' +
' name\n' +
' }\n' +
' }\n' +
' }\n' +
' repositoryTopics(first: 5) {\n' +
' edges {\n' +
' node {\n' +
' topic {\n' +
' name\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' }\n' +
' pageInfo {\n' +
' endCursor\n' +
' hasNextPage\n' +
' }\n' +
' }\n' +
'}',
variables: {
searchQuery: 'query-string created:2021-01-06',
first: 50,
after: null
}
}
}
TypeError: result is not iterable (cannot read property undefined)
at fetchAllResults (/home/bdr/src/GitHubMines/index.js:92:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading 'map')
at writeFiles (/home/bdr/src/GitHubMines/index.js:104:33)
at /home/bdr/src/GitHubMines/index.js:290:5
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)