hasura / hasura/data-dictionary

Cannot read property 'shift' of undefined while trying to connect local hasura db.

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Unhandled Runtime Error
ClientError: Cannot read property 'shift' of undefined
{
"message": "Cannot read property 'shift' of undefined",
"locations": [
{
"line": 1,
"column": 1093
}
],
"path": [
"postgres"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [
"TypeError: Cannot read property 'shift' of undefined",
" at convertRunSQLTuplesToArrayOfObjects (D:\\Devops\\data-dictionary\\react-app\\.next\\server\\pages\\api\\graphql.js:1121:26)",
" at runSQL (D:\\Devops\\data-dictionary\\react-app\\.next\\server\\pages\\api\\graphql.js:1097:10)",
" at runMicrotasks ()",
" at processTicksAndRejections (internal/process/task_queues.js:97:5)",
" at async postgres (D:\\Devops\\data-dictionary\\react-app\\.next\\server\\pages\\api\\graphql.js:1236:18)"
]
}
}
}

Call Stack

node_modules\@genql\runtime\esm\fetcher.js (57:0)
step
/_next/static/chunks/pages/_app.js (85584:23)
Object.next
node_modules\tslib\tslib.es6.js (81:44)
fulfilled
/_next/static/chunks/pages/_app.js (85555:58)

![image](https://user-images.githubusercontent.com/61704503/109425077-913fb600-7a0c-11eb-9351-a79378630ac8.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.