itswadesh / svelte-commerce

The open-source storefront for any ecommerce. Built with a PWA and headless approach, using a modern JS stack. Works with Litekart, Medusa. WIP for Woocommerce, Bigcommerce and Shopify.
https://arialshop.com
MIT License
1.57k stars 304 forks source link

Error 500 when deployed to vercel/netlify #77

Closed mistertee7 closed 1 year ago

mistertee7 commented 1 year ago

Getting Error 500 when deployed to vercel/netlify

To Reproduce

  1. click the the deploy to netlify or the deploy to vercel button on the github repo
  2. wait for the site to be deployed on vercel or netlify
  3. after the site is deployed successfully you will see the error 500
  4. no error to be found on the log of the deployment

Expected behavior The main ecommerce page appearing on the deployed site

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot

itswadesh commented 1 year ago

Hi, thank you for letting me know. I have added the instructions in the readme now.

just need to add 1 env variable into Vercel.

PUBLIC_LITEKART_DOMAIN=demo.litekart.in

mistertee7 commented 1 year ago

Great, it worked on vercel but not on netlify it shows a different error.