I have noticed the following issue in my console:
TypeError: Promise is not a constructor
at PouchDB$3.eval (pouch-utils.js:51)
at PouchDB$3.eval [as dump] (pouch-utils.js:31)
at eval (API.js:125)
at
|
var Promise = require('pouchdb-promise'); |
Applying the following diff in pouchdb-replication-stream/lib/pouch-utils.js fix my issue:
'use strict';
var Promise = require('pouchdb-promise');
+
+Promise = Promise.default
I have noticed the following issue in my console:
pouchdb-replication-stream/lib/pouch-utils.js
Line 3 in 223344f
Applying the following diff in
pouchdb-replication-stream/lib/pouch-utils.jsfix my issue:'use strict'; var Promise = require('pouchdb-promise'); + +Promise = Promise.default