Vercel Deployment Stuck

This feels like a stupid question, so I apologize in advance if it is! I'm not having this issue anymore but it's still bothering me. I was reworking my portfolio, including OG images. I deleted the OG images, added new ones, and pushed the commit. On Vercel, the deployment was stuck on 'Deploying outputs.' I don't remember the exact steps I took before this, but I noticed I also had 'opengraph-image.png' in the public folder, as well as in app, so I deleted it from the public folder and the next push finally deployed. Would this have caused issues in deployment? The build never failed locally or in the deployment, and I never got any errors when running vercel build --debug. It just never made it past 'deploying outputs.' I couldn't find much information outside of this thread - https://github.com/orgs/vercel/discussions/4032 and those fixes weren't working. ANY feedback is appreciated. Like I said, this is resolved but it's driving me crazy not knowing what it was. Thanks!
GitHub
Local build succeeds. Deploy fails · vercel · Discussion #4032
Summary Cant figure out why this is happening. The build is succeeding on local. then deployment doesnt work I dont see any errors. It also fails when deploying by github push hook would code outsi...
Solution:
Sometimes, deployment platforms like Vercel can cache certain files or states of your project. If a file is deleted in one location but not another, this could lead to conflicts or inconsistencies that prevent successful deployment.
Jump to solution
3 Replies
Never
Never2mo ago
If your deployment process involves build scripts or steps that reference files in particular directories, removing files from one location without updating these scripts could lead to unexpected behavior or errors during deployment. Or it's due to caching.
Solution
Never
Never2mo ago
Sometimes, deployment platforms like Vercel can cache certain files or states of your project. If a file is deleted in one location but not another, this could lead to conflicts or inconsistencies that prevent successful deployment.
kane
kane2mo ago
I know this is such a weird and inconsequential issue, but I really appreciate the response!! i think caching is the only thing that makes sense, at least to me. thank you so much!!
Want results from more Discord servers?
Add your server
More Posts