Hmm, if the package is esm-only (which I haven't looked into), could it be that you have to be in a
Hmm, if the package is esm-only (which I haven't looked into), could it be that you have to be in a module for it to work? Wild guess, all this cjs vs esm nonsense is driving me crazy too, but could you try adding
"type": "module" to your package.json?