observablehq / framework

A static site generator for data apps, dashboards, reports, and more. Observable Framework combines JavaScript on the front-end for interactive graphics with any language on the back-end for data analysis.
https://observablehq.com/framework/
ISC License
2.56k stars 122 forks source link

Mosaic loads two versions of DuckDB-Wasm (1.28.0 and 1.29.0) #1793

Closed mbostock closed 2 weeks ago

mbostock commented 2 weeks ago

A likely regression in #1734. https://observablehq.com/framework/lib/mosaic

mbostock commented 2 weeks ago

This was a caching problem. Our cache action stores docs/.observablehq/cache, so it was finding the old copy 1.28.0 of @duckdb/duckdb-wasm in the npm cache, even though some of the code was demanding 1.29.0. Clearing the cache and redeploying has fixed the issue.