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: Store is not a constructor #46

Open
vaultec81 opened this issue Jun 7, 2020 · 0 comments
Open

TypeError: Store is not a constructor #46

vaultec81 opened this issue Jun 7, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vaultec81
Copy link
Member

Version:
0.2.3

Platform:
NodeJS

Describe the bug

TypeError: Store is not a constructor
      at OrbitDB._createStore (.\node_modules\orbit-db\src\OrbitDB.js:231:19)
      ...snip, implementation specific traceback...

To Reproduce
Steps to reproduce the behavior:

  1. Install aviondb from npm
  2. require("aviondb")
  3. open a collection directly using orbitdb.open()

Expected behavior
No error should be thrown. Aviondb instance should open.

Observed behavior
Error thrown when opening an aviondb instance

Additional context
In my use case a collection was opened directly instead of going through aviondb's binding database. This worked prior to 0.2.3, however it no longer works after upgrade. Possible regression.

@vaultec81 vaultec81 added the bug Something isn't working label Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants