Builds failing on old cached file! nextjs12 getStaticPaths

sitename aipairedcom

(SSG) automatically generated as static HTML + JSON (uses getStaticProps)

12:44:31 PM: $ next build && node ./src/scripts/sitemap.js && node ./src/scripts/rssfeed.js
12:44:48 PM: [Error: ENOENT: no such file or directory, open ‘/opt/build/repo/src/articles/published/the-future-of-coding-with-ai.md’]

This file was deleted, it seems like netlify wont let it go and now wont build my site at all.

I tried clearing the cache and redeploy, no luck
I tried clearing the cache within the build command “rm -rf /opt/build/cache/*”

Nothing helps!

Is this file referenced somewhere is the codebase?

Without seeing the repository, it’s a little hard to provide any assistance.