---
title: "Posts — Page 10 - Benjamin"
description: "A curious software engineer based in Skopje, North Macedonia, solving engineering problems, building products people use, and sharing what I learn along the way. Page 10 of 12."
url: "/page/10"
canonical_url: "https://bfzli.com/page/10"
source_url: "https://bfzli.com/page/10.md"
type: "prose"
updated: "2026-11-23"
---

> Markdown copy of https://bfzli.com/page/10. Append `.md` to any page path on bfzli.com for its markdown twin. Full index: https://bfzli.com/llms.txt

# Posts — page 10 of 12

- [Cloudflare Pages Functions Read undefined Environment Variables at Runtime](https://bfzli.com/cloudflare-pages-functions-read-undefined-environment-variables-at-runtime.md) — Make Cloudflare Pages Functions see bound secrets and vars instead of undefined values.
- [Next.js Cannot Optimize Images from an Unconfigured Remote Host](https://bfzli.com/next-js-cannot-optimize-images-from-an-unconfigured-remote-host.md) — Configure next/image so remote images stop failing with host validation and optimization errors.
- [Hono Cannot Read c.req.param() After a Middleware Forgets next()](https://bfzli.com/hono-cannot-read-c-req-param-after-a-middleware-forgets-next.md) — Fix missing route params in Hono by preserving middleware flow and route context.
- [Cloudflare Workers Fail with TypeError: Body has already been used for Request](https://bfzli.com/cloudflare-workers-fail-with-typeerror-body-has-already-been-used-for-request.md) — Understand why a consumed Request body cannot be read twice in Workers and how to clone or buffer it safely.
- [Express Returns req.body Undefined When JSON Middleware Runs Too Late](https://bfzli.com/express-returns-req-body-undefined-when-json-middleware-runs-too-late.md) — Fix req.body staying undefined in Express by placing JSON parsing middleware before your route handlers.
- [Deploying a Static Site to GitHub Pages Breaks Asset URLs Under a Repository Path](https://bfzli.com/deploying-a-static-site-to-github-pages-breaks-asset-urls-under-a-repository-path.md) — Why a site works locally but 404s on GitHub Pages when assets resolve from the domain root instead of the repo path.
- [Design a TypeScript SDK with Multiple Entry Points Without Breaking Imports](https://bfzli.com/design-a-typescript-sdk-with-multiple-entry-points-without-breaking-imports.md) — How to publish a typed SDK with subpath exports, preserved types, and stable import paths for ESM and CommonJS.
- [Remix Returns 405 Method Not Allowed When a Form Submits to the Wrong Route](https://bfzli.com/remix-returns-405-method-not-allowed-when-a-form-submits-to-the-wrong-route.md) — Why a Remix form posts to a route without an action and how route matching determines which loader or action runs.
- [Node Fails to Connect to localhost with ECONNREFUSED ::1 on a Local Server](https://bfzli.com/node-fails-to-connect-to-localhost-with-econnrefused-1-on-a-local-server.md) — Why Node tries IPv6 loopback first for localhost and how to match your server bind address to the resolved address.
- [React Native on Android Throws ReferenceError: window is not defined During Module Initialization](https://bfzli.com/react-native-on-android-throws-referenceerror-window-is-not-defined-during-module-initialization.md) — Why browser globals break during React Native startup on Android and how to move that code behind a native-safe boundary.
