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

[Bug?]: Yarn playground does not work due to CORS issues #4828

Closed
1 task
wojtekmaj opened this issue Sep 7, 2022 · 1 comment
Closed
1 task

[Bug?]: Yarn playground does not work due to CORS issues #4828

wojtekmaj opened this issue Sep 7, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists playground This issue is about the sherlock playground.

Comments

@wojtekmaj
Copy link
Contributor

wojtekmaj commented Sep 7, 2022

Self-service

  • I'd be willing to implement a fix

Describe the bug

I was trying to use Yarn playground to reproduce issue as instructed here:

#4711 (comment)

However, upon load, and upon clicking "Run", I'm getting TypeError: Failed to fetch errors, preceded by:

Access to fetch at 'https://viko0.sse.codesandbox.io/api/check-repo' from origin 'https://yarnpkg.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

To reproduce

  1. Open http://yarnpkg.com/playground
  2. See Console, observe errors

OR

  1. Open http://yarnpkg.com/playground
  2. Click Run, observe how loader never stops

Environment

System:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1 Pro
  Binaries:
    Node: 16.16.0 - /private/var/folders/7r/rpcp4wz97jngh5x0nk88p5br0000gp/T/xfs-ec4d6ef9/node
    Yarn: 3.2.3 - /private/var/folders/7r/rpcp4wz97jngh5x0nk88p5br0000gp/T/xfs-ec4d6ef9/yarn
    npm: 8.11.0 - /opt/homebrew/bin/npm

Additional context

Accessing https://viko0.sse.codesandbox.io/ directly also does not help.

@wojtekmaj wojtekmaj added the bug Something isn't working label Sep 7, 2022
@wojtekmaj wojtekmaj changed the title [Bug?]: Yarn playground does not work [Bug?]: Yarn playground does not work due to CORS issues Sep 7, 2022
@RDIL
Copy link
Member

RDIL commented Sep 7, 2022

Duplicate of #4760

@RDIL RDIL marked this as a duplicate of #4760 Sep 7, 2022
@RDIL RDIL closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2022
@paul-soporan paul-soporan added playground This issue is about the sherlock playground. duplicate This issue or pull request already exists labels Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists playground This issue is about the sherlock playground.
Projects
None yet
Development

No branches or pull requests

3 participants