arangojs
arangojs copied to clipboard
"unknown path" responses from server on every API call
I'm just starting with arangodb and arangojs, so maybe I'm making a basic mistake, but arangojs is returning "unknown path" for every API call for me. Manual http requests from iojs to the server work fine.
I made an attempt at debugging, and found that the use of path.join in request.js was changing the slashes in the path to backslashes. Changing them back to slashes fixed the problem.
I'm running arangodb 2.6 with a fresh database and stock settings. I'm running arangojs 3.8.1 on iojs 1.8.1, and using the default Database constructor.
Ok, now I found Ziink's pull request, which solves the problem.
Closed via #40.