Bug Dynamic Import Dependencies Concatenating

A couple of days ago my notebooks were working, now all of them fail with this error:

TypeError: Failed to fetch dynamically imported module: https://cdn.jsdelivr.net/npm/@heavyai/connector@7/+esm

Except the dependency when visiting the cdn site is available.

I looked at the network console tab, and there is a 404 error, it seems to concatenate dependencies within my dependency like this:

https://cdn.jsdelivr.net/npm/@heavyai/connector@7/npm/apache-arrow@7.0.0/+esm

Except these are two separate dependencies:

heavyai/connector@7

apache-arrow@7.0.0

and they both individually are reachable on the jsdelivr site

Hi @g3o. Are your notebooks public, and if so, can you link to one so I can investigate? Otherwise can you email support@observablehq.com with additional information. Thank you.

In the meantime, I can confirm that the @heavyai/connector package is broken on jsDelivr. Since the last release of that package was four years ago, I assume this is a bug in jsDelivr, so you might contact them to investigate the issue.

It looks like esm.sh works, so you could try importing https://esm.sh/@heavyai/connector@7 instead. I can’t test because it looks like heavy.ai isn’t online anymore, presumably because they were acquired by NVIDIA in 2025.

Just importing the module has issues, I’m aware the database site is down. I’m running my own instance.

hmm… I don’t think it’s broken on jsdelivr.net , because the file doesn’t seem to have changed and it exists. In the network tab when running the observable notebook, it’s requesting some weird concatenation of heavy ai and its dependency apache arrow. But those both exist individually

https://cdn.jsdelivr.net/npm/@heavyai/connector@7/npm/apache-arrow@7.0.0/+esm

My notebooks were querying data and showing charts a few days ago, I don’t remember clearly, but definitely within the last two weeks.

I attempted using the esm site, the way it gets compiled is different from jsdelivr, not sure if it’s some setting that can be changed.

I was able to get my notebooks to work using the esm site by changing HeavyAI.DbCon() to HeavyAI()

It’s working for me locally with esm, but I’m not sure that the concatenation of the dependency of jsdelivr is expected behavior in the network tab.