8000 `Error: failed with HTTP 404` when opening in playground in local development environment · Issue #12621 · mdn/yari · GitHub
[go: up one dir, main page]

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

Error: failed with HTTP 404 when opening in playground in local development environment #12621

Open
3 tasks done
codersjj opened this issue Feb 17, 2025 · 0 comments
Open
3 tasks done
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@codersjj
Copy link

Summary

When using the EmbedLiveSample macro, the preview function works fine. However, after clicking the Play button, the page fails to load and displays the error message: \"Error: failed with HTTP 404\".

URL

For example: http://localhost:5042/en-US/docs/Web/SVG/Tutorial/SVG_fonts

Reproduction steps

  1. Add the following code to any Markdown page:

    ```html
    <h1>Title</h1>
    ```
    
    This renders as shown below:
    
    {{EmbedLiveSample("title", "100", "30px")}}
    
  2. Start the content project:

    Run yarn start to start the local preview.

  3. Access the modified page:

    Open the page where you added the code.

  4. Click the Play button:

    Click the Play button associated with the EmbedLiveSample.

After performing these steps, you may encounter a page load failure accompanied by the error message: \"Error: failed with HTTP 404\".

Expected behavior

The code on the left executes and renders correctly on the right.

Actual behavior

The page fails to load and displays the error message: \"Error: failed with HTTP 404\".

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Windows

Screenshot

Image

Image

Anything else?

No response

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant
0