arangojs icon indicating copy to clipboard operation
arangojs copied to clipboard

"unknown path" responses from server on every API call

Open jrsnyder opened this issue 11 years ago • 2 comments

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.

jrsnyder avatar Jun 24 '15 19:06 jrsnyder

Ok, now I found Ziink's pull request, which solves the problem.

jrsnyder avatar Jun 24 '15 19:06 jrsnyder

Closed via #40.

pluma avatar Jun 24 '15 21:06 pluma