pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
948 stars 154 forks source link

Introducing Express-PouchDB failed when the pouchdb-promise was introduced into the library #448

Open sage-z opened 3 years ago

sage-z commented 3 years ago

The express-pouchdb project uses Var Promise = require('pouchdb-promise ') in express-pouchdb /lib/create-or-delete-dbs.js and express-pouchdb /lib/daemon-manager.js , print the Promise variable and find that it is an object with only the default attribute, so I suspect it is a module problem

Usage: express - pouchdb in import {RxDBServerPlugin} from 'RXDB/plugins/server' cited, lead to introduce RxDBServerPlugin failure

Environment: express-pouchdb: "^4.2.0", electron: "13.0.1", pouchdb-promise: "^6.4.1", node: v14.5.0