commerceplate icon indicating copy to clipboard operation
commerceplate copied to clipboard

404 issue with vercel deployment

Open silveralcid opened this issue 7 months ago • 4 comments

Thanks so much for building and maintaining this, it's very useful.

I've forked it and setup envs and shopify properly but I'm getting a 404 error with my vercel deployment. The domain itself is loading, it's just the individual pages aren't.

https://dkm-ecommerce.vercel.app/

Please advise, thank you!

silveralcid avatar May 27 '25 14:05 silveralcid

Hey @silveralcid

It’s a bit tough to say exactly what’s causing the issue just from this. If you can share more details or add me to the project, I’d be happy to take a quick look and help troubleshoot.

tfmurad avatar May 28 '25 08:05 tfmurad

Hello again @tfmurad I really appreciate your time on this. I sent you a collab invite to the repo. I haven't changed much at all. It's running perfectly on local, so I believe the issue is with the deployment or how this project deploys to Vercel. I don't mind using other hosts, but all my projects and pipelines are setup on Vercel already.

Edit:

I have a suspicion that this is an SSR issue as well.

silveralcid avatar May 28 '25 08:05 silveralcid

Just deployed on Netlify successfully. I am still looking forward to a solution for Vercel though.

silveralcid avatar May 28 '25 14:05 silveralcid

Hi there, I’ve identified that the issue is caused by the getListPage function. When building on Vercel, the path to the sections folder cannot be resolved. Thank you!

Image

trungtb-cyberk avatar Jun 19 '25 08:06 trungtb-cyberk