Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cnichte opened this issue Aug 13, 2024 · 3 comments

Comments

@cnichte
Copy link

cnichte commented Aug 13, 2024

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

at

db.rel.find(type, options);
  • Relational-pouch is setup as described in the manual
  • The Error occurs only with remote databases
  • local stores work like expected

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
Copy link
Collaborator

jlami commented Aug 19, 2024

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

@broerse
Copy link
Collaborator

broerse commented Aug 19, 2024

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

@cnichte
Copy link
Author

cnichte commented Oct 2, 2024

I try to setup an example...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants