Skip to content

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

@pavan9014417218

Description

@pavan9014417218

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions