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.
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 triedimport { openDB } from 'idb/with-async-ittr.js'
to no success. The error I get is:Please note: I am using lit version 3, vanilla JS (no typescript), and browser-sync to serve it.