---
title: "Posts — Page 6 - Benjamin"
description: "A place where I share my thoughts and learnings 💭 Page 6 of 9."
url: "/page/6"
canonical_url: "https://bfzli.com/page/6"
source_url: "https://bfzli.com/page/6.md"
type: "prose"
updated: "2026-10-23"
---

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

# Posts — page 6 of 9

- [Node Resolves the Wrong File from `package.json` `exports` When the Default Condition Is Missing](https://bfzli.com/node-resolves-the-wrong-file-from-package-json-exports-when-the-default-condition-is-missing.md) — A package can load the wrong build target if `exports` does not declare the condition Node is using.
- [Electron Exposes `ipcRenderer` as `undefined` When Context Isolation Blocks the Preload Bridge](https://bfzli.com/electron-exposes-ipcrenderer-as-undefined-when-context-isolation-blocks-the-preload-bridge.md) — A renderer cannot access Electron APIs directly when context isolation removes the preload bridge.
- [Remix Sends Errors to the Wrong Boundary When a Loader Throws Outside Its Route](https://bfzli.com/remix-sends-errors-to-the-wrong-boundary-when-a-loader-throws-outside-its-route.md) — A thrown loader error can skip the expected boundary when the route hierarchy does not match the failing segment.
- [Next.js Client Navigation Stays Stuck on a Stale Page After `router.refresh()`](https://bfzli.com/next-js-client-navigation-stays-stuck-on-a-stale-page-after-router-refresh.md) — `router.refresh()` does not update a page when client state or caching keeps the old UI alive.
- [Bun Locks SQLite During Overlapping Writes with `SQLITE_BUSY`](https://bfzli.com/bun-locks-sqlite-during-overlapping-writes-with-sqlite-busy.md) — Concurrent writes in Bun can stall or fail when SQLite holds a transaction lock too long.
- [Astro Returns 404 When a Route Endpoint Lives in the Wrong Folder](https://bfzli.com/astro-returns-404-when-a-route-endpoint-lives-in-the-wrong-folder.md) — Astro 404s on an endpoint when the file is placed outside the route convention or named incorrectly.
- [Cloudflare Workers Reject `crypto.createHash()` with `ReferenceError: crypto is not defined`](https://bfzli.com/cloudflare-workers-reject-crypto-createhash-with-referenceerror-crypto-is-not-defined.md) — A Node crypto API crashes in Workers because the runtime exposes Web Crypto, not `node:crypto` globals.
- [Node.js Fails to Start a Published CLI with Error: Cannot find module '/package.json'](https://bfzli.com/node-js-fails-to-start-a-published-cli-with-error-cannot-find-module-package-json.md) — A packaged CLI crashes because the entrypoint resolves package metadata from the wrong location.
- [Hono Cannot Match `c.req.param()` When a Static Route Shadows a Dynamic One](https://bfzli.com/hono-cannot-match-c-req-param-when-a-static-route-shadows-a-dynamic-one.md) — Route order in Hono can hide dynamic params and make `c.req.param()` return empty values.
- [Astro Throws ReferenceError: window is not defined When a Browser-Only Import Runs on the Server](https://bfzli.com/astro-throws-referenceerror-window-is-not-defined-when-a-browser-only-import-runs-on-the-server.md) — Astro SSR crashes when a module touches `window` during server rendering.
