#Unhandled Runtime Error - in local server

13 messages · Page 1 of 1 (latest)

modest wren
#

Hi, I'm using Medusa Next.js Starter. I did Yarn dev on frontend and to start server I did medusa new my-medusa-store --seed and then into that folder I did medusa develop, but when I open my local server port :8000. I get this error...

ocean furnace
#

Server is at port 9000

modest wren
proud remnant
#

are you sure everything is ok with your server?

#

can you curl it like the docs?

#
curl localhost:9000/store/products | python -m json.tool```
modest wren
#

Update: This was the issue - I had a .env.template and renamed it to .env.local fixed that.

#

But now there's
Unhandled Runtime Error
Error: Request failed with status code 404

proud remnant
#

ah yes i solved that

#

I think you need to add STORE_CORS on your .env

eager panther
#

one for storefront