skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

swiper@v8.0.7 could not be built. #283

Open shapedigital opened 2 years ago

shapedigital commented 2 years ago
/*
 * [Package Error] "swiper@v8.0.7" could not be built. 
 *
 *   [1/5] Verifying package is valid…
 *   [2/5] Installing dependencies from npm…
 *   [3/5] Building package using esinstall…
 *   Running esinstall...
 *   Running esinstall...
 *   Running esinstall...
 *   Failed to load node_modules/swiper/svelte/swiper.svelte
 *     Try installing rollup-plugin-svelte and adding it to Skypack (https://www.skypack.dev/tutorials/svelte)
 *   Install failed.
 *   Install failed.
 *
 * 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] \"swiper@v8.0.7\" could not be built. \n[1/5] Verifying package is valid…\n[2/5] Installing dependencies from npm…\n[3/5] Building package using esinstall…\nRunning esinstall...\nRunning esinstall...\nRunning esinstall...\nFailed to load node_modules/swiper/svelte/swiper.svelte\n  Try installing rollup-plugin-svelte and adding it to Skypack (https://www.skypack.dev/tutorials/svelte)\nInstall failed.\nInstall failed.");
throw new Error("[Package Error] \"swiper@v8.0.7\" could not be built. ");
export default null;

Unsure of where the problem lies, if it's within Skypack or Swiper. Looks like there's perhaps a missing dependency relating to Svelte? This is a very popular package so would be good to get it working! 👍