skypackjs / skypack-cdn

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

Vue 3's latest versions do not build on skypack #254

Open justin-schroeder opened 2 years ago

justin-schroeder commented 2 years ago

The primary vue 3 package (vue@next) is broken, and it seems this has been true since 3.2.24:

✅ Working: https://cdn.skypack.dev/vue@3.2.23 🚫 Broken: https://cdn.skypack.dev/vue@3.2.24 🚫 Broken: https://cdn.skypack.dev/vue@3.2.25 🚫 Broken: https://cdn.skypack.dev/vue@3.2.26

Says something about not finding vue/macros in the error, but this doesn't seem to be an issue for the project itself. Also, FWIW this does not seem to be an issue with JSDelivr’s similar ESM CDN:

https://cdn.jsdelivr.net/npm/vue@3.2.26/+esm

Thanks!

mlindsten commented 2 years ago

I just ran into the same issue.

import Vue from "https://cdn.skypack.dev/vue@next"; redirected to https://cdn.skypack.dev/error/build:vue@v3.2.29-TLzZYP66T4RjjE5hflSV

which contains the following comment:

/*
 * [Package Error] "vue@v3.2.29" could not be built. 
 *
 *   [1/5] Verifying package is valid…
 *   [2/5] Installing dependencies from npm…
 *   [3/5] Building package using esinstall…
 *   Running esinstall...
 *   Cannot find module 'vue/macros'
 *
 * 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.
 */
Donny2333 commented 2 years ago

Wait for bugfix too.