I’m having issues around the errors handling area.
TypeError: Cannot convert undefined or null to object
I’m not going to ask ‘Who wrote this code’ because the real question is, who is the technical manager responsible for releasing code without enough quality procedures. i know the remark sounds blunt , but it seems some criticism could benefit this product development process.
It does look like a bug exists around the parsing of meta-data for a specific edge-case of errors (where the server responds, but responds with invalid JSON data). I have opened an issue to track this which you can find below, a fix will be available momentarily: https://issues.couchbase.com/browse/JSCBC-424