Open semiautomatix opened 5 years ago
+1
Hello, @marten-de-vries
The problem is here:
# lib/index.js
var Promise = require('pouchdb-promise');
We are getting { default: Promise }
;
Please replace it to require('pouchdb-promise').default
;
OR update version to 7.0.0 in package.json:
"pouchdb-promise": "^6.4.1",
Issue
I'm receiving the following error when using pouchdb-auth:
Info
Reproduce
My code is as below:
As quick check does indeed reveal Promise.resolve to be undefined using the pouchdb-promise import.