-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
SyntaxError: Unexpected token < in JSON at position 0 #288
Comments
Hey @mfaeezshabbir, is you Medusa server running on localhost:9000? If it's running on a different port or domain, make sure to update the |
Yes it was on port 9000 but this error is from the storefront |
facing same issue @mfaeezshabbir @VariableVic Medusa backend is running on PORT: 7001, changed it in frontend .env, still giving same error |
The issue is most likely a CORS issue on the backend (dealt with it in production today). Make sure the STORE_CORS variable is being set properly in your env and |
pretty sure its caused by wrong config pointing admin to backend: |
I was facing the same problem with a fresh project. And while searching for a solution I looked into medusa config - there are |
I am trying to access the storefront of medusa app but i end up getting this error every time, could you please help me
The text was updated successfully, but these errors were encountered: