pouchdb-community / relational-pouch

Store relational data in PouchDB/CouchDB
Apache License 2.0
405 stars 68 forks source link

TypeError: Cannot read properties of undefined (reading 'find')" on remote databases (local store works) #172

Open cnichte opened 2 months ago

cnichte commented 2 months ago

I get an TypeError: Cannot read properties of undefined (reading 'find')"

at

db.rel.find(type, options);

Version where the error occurs:

"pouchdb": "^9.0.0",
"pouchdb-find": "^9.0.0",
"relational-pouch": "^4.0.4",

Version without this error:

"pouchdb": "^8.0.1",
"pouchdb-find": "^8.0.1",
"relational-pouch": "^4.0.4",
jlami commented 2 months ago

We want to support pouchdb 9.0 in the near future, so we'll take a look at this.

broerse commented 2 months ago

We switched to PouchDB 9.0 but we don't see this error yet. See: https://bloggr.exmer.com/

cnichte commented 3 weeks ago

I try to setup an example...