The tests are what showed this error, there is documentation on getting the test suite running @ https://github.com/daleharvey/pouchdb/blob/master/CONTRIBUTING.md#running-pouchdb-tests

in particular its the http://127.0.0.1:8000/tests/test.html?testFiles=test.attachments.js that fails (all of them)