jsonpath Error EBADF bad file descriptor, fstat, when next build
Unanswered
Saluki posted this in #help-forum
SalukiOP
jsonpath v1.1.1:
Error: EBADF: bad file descriptor, fstat
when I add the line jsonpath.query(surveys, $..${keyValue});
Incredible, when I comment the line jsonpath.query, the
Error: EBADF: bad file descriptor, fstat
when I add the line jsonpath.query(surveys, $..${keyValue});
Incredible, when I comment the line jsonpath.query, the
next build works again.3 Replies
Palomino
If the issue persists and you cannot find a solution, you might consider using an alternative JSONPath library or approach.
const result = JSONPath({ path:
$..${keyValue}, json: surveys }); console.log(result);