Yes, I’ve seen this type of issue before with Next.js builds on Vercel.
From the log, the problem is happening during the static export step.
The build is failing when Next.js tries to generate the page:
/articles/[slug]/page
Specifically this article:
aws-d1-4-structural-steel-welding-quality-control
Even though you removed the article, the build process may still be referencing it from somewhere else.
There are a few common causes:
-
Broken data source
If the page uses generateStaticParams() or getStaticPaths(), the slug might still exist in your CMS, database, or markdown files. The build tries to generate it and fails. -
Undefined data during build
Sometimes the page expects article data, but the data is undefined. That causes the static export to crash. -
Build cache issue
Vercel sometimes restores an old cache, which still contains references to removed pages.
What you need do to fix it:
Check generateStaticParams() or wherever the article slugs are generated.
Make sure the deleted article slug is not returned anymore.
Add safe checks in /articles/[slug]/page.tsx so the build does not crash if data is missing.
Clear the Vercel build cache and redeploy.Run next build locally to reproduce the exact error.