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 305 forks source link

Err at Hooks... TypeError: Cannot read properties of undefined (reading '_id') #46

Closed profitelgid closed 1 year ago

profitelgid commented 1 year ago

Hey, thanks for the great project! And also happy to hire you for 20-30min to help me get it working locally and connecting to my REST API. My email info@profitelgid.ee if interested. Thanks.

So, I cloned, npm install with 0 vulnerabilities and WARN derecated and then renamed to .env but didn't change there anything. When I npm run dev then all nice in console but when I open http://localhost:3000/ then I get 500 undefined in my browser and in console: https://i.imgur.com/6XIBxRG.png

I'm on Win 11 and Node v18.7.0

profitelgid commented 1 year ago

One-click Netlify deploy you had here also failed: https://i.imgur.com/Z84KZdb.png Full log: https://app.crewnew.com/s/6yE9SzCfBkwPPKs