-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Description
What happens?
Running the sample code with CDN is leading to error.
JSDelivr is not serving the package files and instead showing the below error:

Error:
Failed to load the file listing.
Package size exceeded the configured limit of 150 MB.
Consider asking the author to remove unnecessary files to make the package smaller.
To Reproduce
Use the example code with CDN as duckdb.getJsDelivrBundles()
Full code:
const JSDELIVR_BUNDLES = duckdb.getJsDelivrBundles();
// Select a bundle based on browser checks
const bundle = await duckdb.selectBundle(JSDELIVR_BUNDLES);
const worker_url = URL.createObjectURL(
new Blob([`importScripts("${bundle.mainWorker}");`], { type: "text/javascript" })
);
// Instantiate the asynchronus version of DuckDB-wasm
const worker = new Worker(worker_url);
const logger = new duckdb.ConsoleLogger();
const db = new duckdb.AsyncDuckDB(logger, worker);
await db.instantiate(bundle.mainModule, bundle.pthreadWorker);
URL.revokeObjectURL(worker_url);Browser/Environment:
Edge latest
Device:
PC
DuckDB-Wasm Version:
1.28.1-dev65.0
DuckDB-Wasm Deployment:
jsdelivr
Full Name:
Gopalakrishna Palem
Affiliation:
Metadata
Metadata
Assignees
Labels
No labels