idb icon indicating copy to clipboard operation
idb copied to clipboard

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

Open dman777 opened this issue 6 months ago • 0 comments

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.

dman777 avatar Dec 25 '23 23:12 dman777