Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turbo 8 cannot be loaded from skypack.dev #1172

Open
jcoyne opened this issue Feb 8, 2024 · 4 comments
Open

Turbo 8 cannot be loaded from skypack.dev #1172

jcoyne opened this issue Feb 8, 2024 · 4 comments

Comments

@jcoyne
Copy link

jcoyne commented Feb 8, 2024

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
Copy link

searls commented Feb 10, 2024

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
Copy link

liefra commented Feb 24, 2024

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

@openfinch
Copy link

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

@capripot
Copy link

capripot commented Apr 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants