hotwired / turbo

The speed of a single-page web application without having to write any JavaScript
https://turbo.hotwired.dev
MIT License
6.64k stars 421 forks source link

Turbo 8 cannot be loaded from skypack.dev #1172

Open jcoyne opened 7 months ago

jcoyne commented 7 months ago

If you go to https://cdn.skypack.dev/new/@hotwired/turbo@v8.0.0/dist=es2019

You will get:

Unexpected Error: Build was successful but could not be found.

5V8DuTbsCrqcih2bsBTs

The guide at https://turbo.hotwired.dev/handbook/installing#in-compiled-form indicates this should be possible

This issue is similar to #1109 and #1074

searls commented 7 months ago

Came in to report this. Trying to repro another bug and hit the same issue

When I load https://cdn.skypack.dev/@hotwired/turbo, it has this comment web inspector:

/*
 * [Package Error] "@hotwired/turbo@v8.0.2" could not be built. 
 *
 *   [1/5] Verifying package is valid…
 *   [2/5] Installing dependencies from npm…
 *   [3/5] Building package using esinstall…
 *   Running esinstall...
 *   Failed to load node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js
 *     Unexpected token (873:8) in @hotwired/turbo/dist/turbo.es2017-esm.js
 *   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.
 */
liefra commented 6 months ago

Seeing the same issue with @hotwired/turbo@v8.0.3

openfinch commented 5 months ago

Still the case with @hotwired/turbo@v8.0.4.

capripot commented 4 months ago

Pinned mine to @hotwired/turbo@7.3.0 for now, or switch to https://cdn.jsdelivr.net/npm/@hotwired/turbo@8.0.4/+esm