Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'add' of undefined #11

Open
VladoDemcak opened this issue Jan 8, 2019 · 3 comments
Open

TypeError: Cannot read property 'add' of undefined #11

VladoDemcak opened this issue Jan 8, 2019 · 3 comments

Comments

@VladoDemcak
Copy link

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:

screen shot 2019-01-08 at 2 46 02 pm

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)
@sudeepvd
Copy link

+1

@VladoDemcak
Copy link
Author

@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.

@sudeepvd
Copy link

sudeepvd commented Jul 9, 2019

@VladoDemcak : It worked. Thanks for your quick turnaround.

MaheshMadushan added a commit to MaheshMadushan/arangochair that referenced this issue Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants