Skip to content

Not able to import openDB from idb/with-async-ittr in Ver 8 #305

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

Open
dman777 opened this issue Dec 25, 2023 · 0 comments · May be fixed by #340
Open

Not able to import openDB from idb/with-async-ittr in Ver 8 #305

dman777 opened this issue Dec 25, 2023 · 0 comments · May be fixed by #340

Comments

@dman777
Copy link

dman777 commented Dec 25, 2023

I used to import openDB with import { openDB } from 'idb/with-async-ittr' but after updating to idb ver 8, this import from with-async-ittr is no longer available. I also tried import { openDB } from 'idb/with-async-ittr.js' to no success. The error I get is:

Uncaught TypeError: Failed to resolve module specifier "idb/with-async-ittr". Relative references must start with either "/", "./", or "../".

Please note: I am using lit version 3, vanilla JS (no typescript), and browser-sync to serve it.

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

Successfully merging a pull request may close this issue.

1 participant