Astro -- "Failed to call getStaticPaths" during build
This only occurs on CF Pages deploys, I tried it locally, on Netlify, and on Coolify and it ran just fine on those platforms. I would love to be able to keep using CF Pages though, seeing as that's where all of my domains live.
I am using the Build Version 2 (I tried 1 as well, but it's outdated). I am also using Astro v5, but I did successfully deploy this same app just two days ago so I don't think it's an issue related to Astro v5.
Not sure how to get around this-- perhaps it's a Cloudflare issue? My deployment worked fine two days ago, and since then I've mostly just edited CSS classes. This Astro project loads content from the Directus CMS, is in Astro's 'static' mode, and uses SSG.
1 Reply
I have to bump this, because this seems to be an issue on Cloudflare's end.