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.
-
Design a TypeScript SDK with Multiple Entry Points Without Breaking Imports
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
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
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
Why browser globals break during React Native startup on Android and how to move that code behind a native-safe boundary.
-
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.