-
Notifications
You must be signed in to change notification settings - Fork 244
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
svelte.dev not running script #623
Comments
This is working currently for me. |
I'm having the same issue. |
it works for me. |
Same here (macOS 14.5 on M1). More detail:
![]() Additionally, the request shown on the screenshot offers the user to switch to a legacy version of the tutorial, which is no longer present under that URL. The legacy URL might be useful in tracing the bug, so here it is in plaintext: |
Addendum: I self-hosted this repo on my computer to see if I can replicate the issue locally. Attempts to replicate the issue succeeded with a 300% efficiency. Now in all browsers, it has the same issue: stuck on "booting webcontainer". The issue is present whether you run the container via the script "dev" or via "preview". Browser console shows nothing aside from CORS and connectivity errors (to be expected, since I'm still IP-banned from svelte.dev). If the command used to run the server is "dev", no errors are displayed. If the command used to run the server is "preview", the following error is shown in the command line with every page refresh:
but that seems to be linked to a failed fetch of vercel's speed tracker ("at async fetch" in the middle), which is to be expected for a self-host on a local machine. System parameters: UPD: fixed typos, improved readability UPD2: Just when I despaired on getting it to run and booted up the server again to just read through the tutorial, the dev container on my local copy started to load and function correctly. I believe I changed nothing in the setup, aside from running (and cutting short) the yarn check command instead of yarn run check. It appears to have been working fine for the last ten minutes so long as I load one page at a time. But when I launch several pages in parallel, only the most recent one's dev container is synchronized with the code editor: the rest stop updating if I update the code. Question to consider: do devcontainers run on the server or on the client? If it's on the server, then the unreliable operation of learn.svelte.dev's devcontainers might happen when Vercel hosting it runs fewer instances than there are concurrent connections and starts connecting several people to a single instance (which can be imitated for debugging purposes by self-hosting this repo and opening several pages at the same time). If it's running on the client, then... maybe key collisions in localStorage or IndexedDB could be the problem? The hostname is the same, so different tabs should share the same data storage. My intuition says "server". But I'm not well-versed in modern JS sorcery, so I can't exclude the possibility of running Svelte's compiler in a browser instead of node. |
Describe the bug
svelte.dev not running script
I'm lerning https://learn.svelte.dev/tutorial/tweens but all section not running scripts
I'm try to another browser (edge, mozilla, chrome) but not works
Reproduction
svelte.dev not running script
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: