Given the following:
new JSONPath({ path: "$" })
The error message is:
You must supply a "path" property when providing an object argument to JSONPath.evaluate().
It should probably be:
You must supply a "json" property when providing an object argument to JSONPath.evaluate().