How to Open Build Logs

  1. Cloudflare dashboard → Workers & Pages
  2. Select your project → Deployments tab
  3. Click the target deployment → View build logs

What a Successful Build Looks Like

Cloning repository...
Installing project dependencies
Executing user command
Uploading...
Success: Your site was deployed

Common Errors and Fixes

Astro.glob is not a function

Deprecated in Astro 5. Replace with import.meta.glob().

Cannot find module

npm install @astrojs/sitemap

Old commit being deployed

git commit --allow-empty -m "force deploy"
git push

Common Pitfalls

  • The error cause appears just before the Failed line — search for ERROR with Ctrl+F
  • If no new deployment appears at all, the issue may be a GitHub disconnection rather than a build error

For disconnection issues, see Cloudflare Pages Disconnected from GitHub: Fix.

  • Fiverr - Find freelance developers and tech experts