dipole_moment
dipole_moment

Reputation: 5874

How to use pouchdb-authentication on node?

I am trying to use pouchdb-authentication on node with no lock. In the browser, it works fine but when I use it in node I get some errors about PouchDB having no method login. Here is some code.enter image description here

Anything obvious I'm doing wrong?

Upvotes: 1

Views: 447

Answers (1)

nlawson
nlawson

Reputation: 11620

pouchdb-authentication isn't designed to to work in Node. I'd recommend Nano as an alternative. There's some discussion in this Github issue.

Upvotes: 2

Related Questions