[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Feedback](/c/feedback/8) # Bug: Deployment fails after file rename (Astro) 118 views · 0 likes · 2 posts Pascal Polleunus (@ppo) · 2025-01-08 I renamed a file using: `git mv filename.mdx filename.md` It's a file in an [Astro content collection](https://docs.astro.build/en/guides/content-collections/): `/content/blog/filename.mdx` The build works fine locally. I tried using `vercel --prod`, not working. I guess it's a cache problem. I tried "push everything" in the project settings › data cache but it doesn't solve the problem. I renamed the file to `.mdx` and `vercel --prod`, and it worked. I renamed back to `.md` and `vercel --prod`, and it failed again. Error: ``` [vite]: Rollup failed to resolve import "astro:content-layer-deferred-module?astro%3Acontent-layer-deferred-module=&fileName=src%2Fcontent%2Fblog%2Ffilename.mdx&astroContentModuleFlag=true" from "/vercel/path0/.astro/content-modules.mjs". ``` Pauline P. Narvas (@pawlean) · 2025-01-29 Hey, Pascal! Thanks for being patient with us! Could you share a [minimal reproducible example](https://vercel.com/guides/creating-a-minimal-reproducible-example) for us?