Fix Astro `node:buffer` Build Error on Cloudflare Pages (2026)
Astro builds locally but fails on Cloudflare with 'Could not resolve node:buffer'. Enable nodejs_compat and configure the Cloudflare adapter — step-by-step fix.
Zero-JS pages, component patterns, Netlify deploys, and Astro static tool builds.
Astro builds locally but fails on Cloudflare with 'Could not resolve node:buffer'. Enable nodejs_compat and configure the Cloudflare adapter — step-by-step fix.
301 redirects from old URLs, trailing slash normalization, and when to use redirects vs getStaticPaths.
Remove Starlight/Vercel analytics injection, run Plausible instead, and find the script that kept loading after I thought I removed it.
Loan calculator across 3 pages — shared Svelte island, prerendered shells, URL state via query params.
Remark plugin + astro:assets pipeline so every  in MDX becomes responsive WebP at build time.
Fixed sidebar ad slot, responsive breakpoints, and passing AdSense review on a static Astro blog.
Images and fonts 404 after Astro static build on Vercel/Netlify. Fix base URL, asset imports, and public folder paths.
netlify.toml, build settings, environment variables, and fixing the 'Page not found' on refresh bug.
Self-hosted search index at build time. No Algolia bill, no API keys, works on static hosting.
Shiki highlighting at build time, one-click copy, and fixing the 'Cannot use set:html with user input' scare.
client:load vs client:visible, islands architecture in practice, and removing every unnecessary hydration point.