Open KasperKrawczyk opened 1 year ago
Here is the result for https://cdn.skypack.dev/d3@7:
/*
* [Package Error] "d3@v7.7.0" could not be built.
*
* [1/5] Verifying package is valid…
* [2/5] Installing dependencies from npm…
* No matching version found for d3@7.7.0.
*
* How to fix:
* - If you believe this to be an error in Skypack, file an issue here: https://github.com/skypackjs/skypack-cdn/issues
* - If you believe this to be an issue in the package, share this URL with the package authors to help them debug & fix.
* - Use https://skypack.dev/ to find a web-friendly alternative to find another package.
*/
console.warn("[Package Error] \"d3@v7.7.0\" could not be built. \n[1/5] Verifying package is valid…\n[2/5] Installing dependencies from npm…\nNo matching version found for d3@7.7.0.");
throw new Error("[Package Error] \"d3@v7.7.0\" could not be built. ");
export default null;
It seems that jsDelivr can build the package fine though, so I’m not sure what’s wrong here.
getting same issue just now
Here is the result for https://cdn.skypack.dev/d3@7:
/* * [Package Error] "d3@v7.7.0" could not be built. * * [1/5] Verifying package is valid… * [2/5] Installing dependencies from npm… * No matching version found for d3@7.7.0. * * How to fix: * - If you believe this to be an error in Skypack, file an issue here: https://github.com/skypackjs/skypack-cdn/issues * - If you believe this to be an issue in the package, share this URL with the package authors to help them debug & fix. * - Use https://skypack.dev/ to find a web-friendly alternative to find another package. */ console.warn("[Package Error] \"d3@v7.7.0\" could not be built. \n[1/5] Verifying package is valid…\n[2/5] Installing dependencies from npm…\nNo matching version found for d3@7.7.0."); throw new Error("[Package Error] \"d3@v7.7.0\" could not be built. "); export default null;
It seems that jsDelivr can build the package fine though, so I’m not sure what’s wrong here.
Thanks! Anyone else in particular who should be alerted about this issue?
Change import to import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm";
As indicated in the title; d3 is not available.