arangochair
arangochair copied to clipboard
TypeError: Cannot read property 'add' of undefined
We are using the latest arangodb version (official docker image for arangodb) and we are getting following error:
This is simple info taken from arangodb dashboards:
Currently listening #0 subscribers
/notification-api/node_modules/arangochair/index.js:152
txns.get(tid).add([type,entry.slice(idx0+14)]);
^
TypeError: Cannot read property 'add' of undefined
at req.get (/notification-api/node_modules/arangochair/index.js:152:46)
at HttpRequest.handleResponse (/notification-api/node_modules/request-easy/request.js:172:9)
at rawRequest (/notification-api/node_modules/request-easy/request.js:100:16)
at IncomingMessage.res.on (/notification-api/node_modules/request-easy/rawRequest.js:87:21)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
+1
@sudeepvd we tried some of the forks of arangochair because this repo is dead. And fortunately the layro01/arangochair's fork worked. You can use it in your package.json as follows:
"dependencies": {
"arangochair": "layro01/arangochair"
I dont know why the owner of the repo ignores PR and issues but at least we have the working fork. plz let me know if this helped.
@VladoDemcak : It worked. Thanks for your quick turnaround.