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

indexedDB is not defined #3

Open
MathieuNls opened this issue Sep 11, 2023 · 0 comments
Open

indexedDB is not defined #3

MathieuNls opened this issue Sep 11, 2023 · 0 comments

Comments

@MathieuNls
Copy link

Hello,

Thanks for this library. I am trying to use the HNSWWithDB option but I got:

{stack: 'ReferenceError: indexedDB is not defined
    …/hnsw/dist/db.js:8:71', message: 'indexedDB is not defined'}

with the following:

import { HNSWWithDB } from "hnsw";
const localHnsw = await HNSWWithDB.create(1280, 16, "some-name");

Any advice ?

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

1 participant