Open lukasborawski opened 7 years ago
I'm getting the exact same error... were you able to figure out what was going on? It looks like in vue-pouch/index.js
that the $pouch
object is attempting to call defaultDB.signup()
, but defaultDB
is null.
Hello guys, yes, the authentication functionality built into vue-pouch is very broken, not only the implementation but also the approach is wrong. I think I'm going to remove it for now.
I'm getting the same error with $pouch.useAuth function. Do you plan to fix that or just remove authentication ? Uncaught TypeError: database.login is not a function at login (index.js?19c5:34) at Object.useAuth (index.js?19c5:53)
I think the authentication methods need a complete rewrite. Unfortunately I'm not using this library in any of my projects anymore so I'm not sure how to go about it. If somebody has an idea or wants to maintain this project let me know.
Is this fork the way forward?
@buhrmi My plugin:
index.js:58 Uncaught TypeError: defaultDB.signup is not a function