RSSAmplifier

Blog

Loke.dev

Articles, guides, and thoughts on web development and technology

loke.devRSS feed ↗20 posts

Latest posts

Fix Astro 7 Stripping Safari CSS Prefixes

Restore Safari-required CSS prefixes in Astro 7 static builds by setting an explicit Vite cssTarget, then verify the generated production CSS.

Fix pnpm 12 Security Scanners Missing Project Dependencies

Detect pnpm 12 multi-document lockfiles, verify security scanners and SBOMs, and avoid false clean results during the release-candidate upgrade.

Fix pnpm 11 deploy Shipping Workspace Source Symlinks

Detect pnpm 11.19 to 11.21 deploy artifacts that link back into a monorepo, pin the verified last-good release, and keep Docker images portable.

Fix Astro 7.2 Incremental Builds Not Restoring Pages

Find why Astro 7.2 re-renders unchanged pages when the Fonts API is enabled, verify the dependency hash, and choose a safe temporary workaround.

Fix npm Audit Flagging undici Through Wrangler and Miniflare

Upgrade the Wrangler dependency chain that pinned undici 7.28.0, verify Miniflare resolves 7.29.0, and keep CI audit gates meaningful.

Fix Tailwind Container Query Layout Bugs in Real Components

Understand why a Tailwind container query does nothing or changes the wrong card, then fix the container boundary, query name, and responsive fallback.

Fix Slow Next.js Server Actions and Data Fetching

Find why a Next.js App Router page or Server Action feels slow, then fix waterfalls, duplicate queries, uncached fetches, and slow post-action refreshes.

Fix Next.js Hydration Errors in Production Without Guessing

A practical way to find the first server and browser difference behind a Next.js hydration error, with fixes for dates, browser APIs, HTML nesting, and extensions.

Fix Next.js 16.3 standalone output failing on Vercel

A hands-on fix for the Next.js 16.3 ENOENT trace-file error on Vercel, with checks for Docker and self-hosted standalone builds.

Fix pnpm ERR_PNPM_AUDIT_BAD_RESPONSE HTTP 410

Fix pnpm audit's HTTP 410 failure by moving from pnpm 10 to v11's bulk advisory endpoint, then migrate ignored advisories safely.

Fix pnpm “Cannot Use 'in' Operator” in GitHub Actions

Fix pnpm's integrity undefined crash in GitHub Actions by replacing broken 11.12.0, pinning one version, and updating the setup step safely.

Next.js 16 “Module Factory Is Not Available”: Diagnose Turbopack HMR

Identify the Cache Components and lazy-loading Turbopack HMR regression, isolate it with Webpack, and validate production separately.

GPT-5.6 Sol vs Terra vs Luna: Which Model Should You Use?

Compare GPT-5.6 Sol, Terra, and Luna for coding, agents, high-volume API work, context limits, reasoning controls, and current pricing.

Run TypeScript 7 Without Breaking typescript-eslint

Fix TypeScript 7 ESLint peer conflicts and Cjs crashes by running TypeScript 7 beside the TypeScript 6 compatibility API, with a verified npm setup.

Next.js npm Audit Flags sharp: Test the Override on Vercel

Triage the sharp advisory in Next.js 16.2, apply a package-manager override carefully, and test the real image path before deploying on Vercel.

Fix Missing Cloudflare Workers Types After the v5 Upgrade

Fix missing dated Cloudflare Workers type entrypoints after v5, migrate app types to wrangler types, and keep generated declarations current in CI.

Node 20 Is EOL: Find Every Runtime Pin Before a Failed Deploy

Node 20 is EOL. Audit package metadata, CI, Docker, and host settings, choose a supported target, then verify every runtime pin before a deploy fails.

Compare Preview and Production Before You Merge

Catch preview deployment drift in status codes, redirects, headers, cookie attributes, canonical URLs, and robots metadata before production.

Run Multiple Cloudflare Workers Locally With One Safe Plan

Resolve Wrangler environments, service bindings, and remote resources before starting a multi-Worker stack, then launch it in dependency order.

Lint wrangler.jsonc in GitHub Actions Before You Deploy

Run Cloudflare Workers config checks in GitHub Actions, annotate exact Wrangler lines, scan monorepos, and upload SARIF when you need it.