Closed
Description
I am using js-data to communicate between 2 nodejs applications.
js-data-http 1.2.3 does not work anymore with nodejs, while v1.1.0 does.
The error is: "ReferenceError: navigator is not defined"
I can't figure who throws the error. Maybe axios?
The error was hidden by an other issue in js-data-http:
function logResponse(data) {
var str = start.toUTCString() + ' - ' + data.config.method.toUpperCase() + ' ' + data.config.url + ' - ' + data.status + ' ' + (new Date().getTime() - start.getTime()) + 'm
In case of error from the server (e.g. wrong url), data.config is not defined.