Skip to content

TypeError: Store is not a constructor #46

@vaultec81

Description

@vaultec81

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions