Hello, I'm Benjamin 👋
A curious software engineer based in Skopje, North Macedonia, solving engineering problems, building products people use, and sharing what I learn along the way.
-
Bun Throws ERR_REQUIRE_ESM When a CommonJS File Loads an ESM Package
Why Bun hits ERR_REQUIRE_ESM on mixed module boundaries and how to make the import path match the package format.
-
Next.js Environment Variables Return Undefined in the Browser After Build
Why process.env values disappear in client code after a Next.js production build, and how to expose the right variables safely.
-
Cloudflare Workers Reject POST Requests with a CORS Preflight Failure
Return the right CORS headers from a Worker so browser preflight requests stop failing.
-
Deno Cron Tasks See DENO_ENV Undefined in Scheduled Runs
Make scheduled Deno jobs read environment variables reliably instead of getting undefined at runtime.
-
Electron Throws Refused to Execute Inline Script When a Sandboxed Preload Loads Local HTML
Fix CSP failures when Electron loads local HTML with a sandboxed preload and inline script blocked.
-
Next.js Hydration Mismatch: Random UUIDs Render Different HTML on Server and Client
Fix hydration errors caused by non-deterministic UUIDs in server-rendered Next.js components.
-
Node.js Fails with bin Not Found After Publishing a Package to npm
Fix npm packages that install but do not expose the expected CLI command.
-
Nuxt Generates 404s for Nested Routes During Static Site Deployment
Fix missing pages when Nuxt static generation doesn't emit the routes your host expects.
-
SQLite Returns SQLITE_BUSY During Concurrent Writes in Drizzle ORM
Reduce SQLite write contention when multiple requests try to write through Drizzle at once.
-
Programmatically Access Lummi AI Images with Lummi SDK
A walkthrough on how to use the Lummi SDK to access images programmatically.