Closed vezwork closed 1 year ago
Yeah this one is mystifying as the code looks like valid JS and I don't believe we are using any new features. In 1.7 it was a very non-sensical fix that just by chance happened to fix it. Although it is pretty clear the issue is with /web
so there is something here.
I asked Fred and he told me Skypack is all but dead. So no help there. The recommended CDN now is: https://esm.sh/solid-js@1.8.1. It supports submodules via URLs like: https://esm.sh/solid-js@1.8.1/web.
I will leave this around for a while if people want to try to speculate what is causing this but it probably isn't the best use of time.
@vezwork - https://status.skypack.dev/
Thank you @ryansolid! I was successfully able to get the starter counter app working with esm.sh using its submodule support.
I was attempting to use skypack because it is what the getting started -- buildless options part of the solid js docs uses. I'm going to go put up a PR to change skypack to esm.sh there and I'll link it here once I have.
Here is a PR to replace skypack usage with esm.sh usage in the getting started -- buildless options part of the docs: https://github.com/solidjs/solid-docs/pull/275
With skypack down, with no prospect of getting up again, I guess this can be closed.
Docs update has been merged. I'm going to close this. Thank you everyone involved.
Describe the bug
skypack fails to build v1.8.1: https://cdn.skypack.dev/solid-js/web
Your Example Website or App
https://cdn.skypack.dev/solid-js/web
Steps to Reproduce the Bug or Issue
Expected behavior
v1.8 should build
Screenshots or Videos
No response
Platform
Not sure what skypack uses.
Additional context
it also previously failed to build in v1.7, but was fixed: https://github.com/solidjs/solid/issues/1660
jsdelivr works for the main library but I cannot find a way to get it to work for
/web
or/html
.As a result, I do not know a way to run solidjs from a CDN. All solidjs pens on codepen seem to be broken (except one that imports an older version).