sadmann7 / skateshop

An open source e-commerce skateshop build with everything new in Next.js.
https://skateshop.sadmn.com
MIT License
5.18k stars 743 forks source link

Error while adding a product to cart #19

Open exosky12 opened 1 year ago

exosky12 commented 1 year ago
Screenshot 2023-07-02 at 18 56 53
sadmann7 commented 1 year ago

Can you explain a bit?

Which event triggered it?

exosky12 commented 1 year ago

I'm so dumb sorry i forgot to add the context 😅, it happened when i tried to add a product to my cart ^^

sadmann7 commented 1 year ago

Try clearing cookies or delete the cartId cookie from the application console.

I resetted the db. The previous chatId is causing it maybe

Jittojoyes98 commented 1 year ago

Heyy, can i work on this issue? Iam new to nextjs (Although i know React ). Will need some help

sadmann7 commented 1 year ago

It should work fine now.

You can still check if you want.

dejongyeong commented 1 year ago
Screenshot 2023-07-02 at 18 56 53

I think that this issue is related to the server actions i.e. use server when in production as Vercel blocks the error messages to avoid leaking sensitive messages.

[Update] I came across the link and thought to share it: https://github.com/vercel/next.js/discussions/49426#discussion-5172501