Tried using these imports
import PouchDB from 'pouchdb';
import PouchDBAuth from 'pouchdb-authentication';
PouchDB.plugin(PouchDBAuth)
Module ''pouchdb-authentication'' has no default export is the error generated while using these imports.
PouchDB.plugin(require('pouchdb-authentication'));
Using require is removing the error but still showing db.login() is not a function. Can anyone suggest where the issue is?