How to Debug 500 Error After Deploying Astro

Hey guys, wondering how I can look at finding the logs for my pages app (free tier) using astro. It builds and deploys find, but when I visit the pages URL a 500 is returned immediately. When I run locally with Wrangler everything runs fine.
So, my question is - where can I find the logs (looks like they don't come w/ the free tier in CF) ? Otherwise I have no clue what is happening and no way to debug and solve the 500.
5 Replies
Walshy
Walshy3d ago
you have logs - magic link: https://dash.cloudflare.com/?to=/:account/pages/view/:pages-project/:pages-deployment/functions You'll need to tail the logs and see why it's returning 500
bbqchickenrobot
@Walshy | Out of office - thanks for the reply, that link just takes me to the dashboard
Walshy
Walshy3d ago
Follow the banner It says to choose account, choose project and choose a deployment
bbqchickenrobot
ah, got it - thanks
WillTolmie
WillTolmie4h ago
@bbqchickenrobot Which version of Astro? Astro 4.16.1 had a regression with
GitHub
TypeError: Can't modify immutable headers. in Cloudflare Pages afte...
Astro Info Astro v4.16.1 Node v20.16.0 System macOS (arm64) Package Manager pnpm Output hybrid Adapter @astrojs/cloudflare Integrations @astrojs/react @astrojs/svelte @astrojs/tailwind @sanity/astr...
Want results from more Discord servers?
Add your server