Skip to content

Uncaught Exception: TypeError: requestPromise.get is not a function #439

@RiteshSinghApache

Description

@RiteshSinghApache

I'm facing Uncaught Exception: TypeError: requestPromise.get is not a function in every cluster file in the directory socioboard-api/Common/Cluster/, like given below

Uncaught Exception: TypeError: requestPromise.get is not a function
at file:///var/www/html/Socioboard-5.0/socioboard-api/Common/Cluster/google.cluster.js:179:12
at Request._callback (file:///var/www/html/Socioboard-5.0/socioboard-api/Common/Cluster/google.cluster.js:354:11)
at self.callback (/var/www/html/Socioboard-5.0/socioboard-api/Common/node_modules/request/request.js:185:22)
at Request.emit (node:events:524:28)
at Request. (/var/www/html/Socioboard-5.0/socioboard-api/Common/node_modules/request/request.js:1154:10)
at Request.emit (node:events:524:28)
at IncomingMessage. (/var/www/html/Socioboard-5.0/socioboard-api/Common/node_modules/request/request.js:1076:12)
at Object.onceWrapper (node:events:638:28)
at IncomingMessage.emit (node:events:536:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Kindly provide updated code for this or suggest me best way to implement all requestPromises in every cluster files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions