sveltejs / sveltejs/svelte.dev

Embedded playground with login

Open
#665 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

playground (functionality)
Dominant language
Svelte
Stars
330
Forks
278
Avg merge
2d 2h
Merged PRs (30d)
29

Description

The feature of embedding the playground seems broken.
https://svelte.dev/playground/embed which translates to https://svelte.dev/playground/hello-world/embed?version=5.0.0-next.272 (I've tried to manually change the version to 5.1.3 which is the current version on the svelte.dev site and is the same) doesn't work and freezes on loading Svelte Compiler
Browser console gives this error for Editor.DgIedeOC.js:426

Uncaught (in promise) Error: Workspace must have at least one file
    at Ck.set (Editor.DgIedeOC.js:426:8826)
    at Ck.reset (Editor.DgIedeOC.js:426:8508)
    at Proxy.x (config.BSQVWH8N.js:68:6165)
    at 9.JGmp0oYm.js:1:1331
    at entry.D0hSBSpY.js:1:13001
    at Array.forEach (<anonymous>)
    at st (entry.D0hSBSpY.js:1:12990)
    at fn (entry.D0hSBSpY.js:1:26819)
    at async Module.yn (entry.D0hSBSpY.js:1:11374)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure at https://svelte.dev/playground/hello-world/embed?version=5.0.0-next.272 and inspect the console stack trace, especially Editor.DgIedeOC.js:426 and config.BSQVWH8N.js:68. Trace why the embedded workspace has no files; done means the playground loads past “loading Svelte Compiler” without the workspace error.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.