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

Strackblitz playground link not working #19

Open
matej-marjanovic opened this issue Apr 23, 2023 · 1 comment
Open

Strackblitz playground link not working #19

matej-marjanovic opened this issue Apr 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@matej-marjanovic
Copy link

Version

nuxt-medusa: 0.4.0
nuxt: 3.3.1

Reproduction Link

https://stackblitz.com/github/baroshem/nuxt-medusa?file=.stackblitz%2Fnuxt.config.ts

Steps to reproduce

Trying the StackBlitz playground link.

What is Expected?

Playground link to work.

What is actually happening?

If you click on the "Play online" link it leads to a 500 server error when it tries to run on Stackblitz.
I'm not sure though if it's a Stackblitz issue or if it's related to the project.

Terminal

[Vue warn]: Unhandled error during execution of setup function                   16:38:44
  at <App>                                                                       16:38:33
[Vue warn]: Unhandled error during execution of setup function                   16:38:51
  at <App>

Website

500
socket hang up

at TLSSocket.socketOnEnd (https://zzmikvlmzgithub-zrex.w-credentialless.staticblitz.com/blitz.95b70c8d.js:35:1190418)
at EventEmitter.emit (https://zzmikvlmzgithub-zrex.w-credentialless.staticblitz.com/blitz.95b70c8d.js:35:156946)
at endReadableNT (https://zzmikvlmzgithub-zrex.w-credentialless.staticblitz.com/blitz.95b70c8d.js:35:731158)
at _0x3ce3ef (https://zzmikvlmzgithub-zrex.w-credentialless.staticblitz.com/blitz.95b70c8d.js:44:150831)
at https://zzmikvlmzgithub-zrex.w-credentialless.staticblitz.com/blitz.95b70c8d.js:44:150614
@matej-marjanovic matej-marjanovic added the bug Something isn't working label Apr 23, 2023
@Baroshem
Copy link
Owner

Hey,

Sorry but I completely missed your issue. The issue is caused by the fact that the provided link to the Medusa api does not accept connections from this Stackblitz due to CORS configuration. I will ask the Medusa team to provide me with one of their public api's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants