Reputation: 5874
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.
Anything obvious I'm doing wrong?
Upvotes: 1
Views: 447
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