
Server-Sent Events (SSE) in Node.js
A dashboard I shipped last quarter needed a job-progress bar that ticked from 0 to 100 as a background worker chewed through a queue. My first instinct was a WebSocket. I wired up the server, the…

A dashboard I shipped last quarter needed a job-progress bar that ticked from 0 to 100 as a background worker chewed through a queue. My first instinct was a WebSocket. I wired up the server, the…
| Error | What it means / fix |
|---|---|
| CVE-— | Fix UnhandledPromiseRejection in Node.js It’s 2 a.m., the pager goes off, and your Node 22 service is in a restart loop. The logs show one line — a rejection reason — then… |
| CVE-— | Fix self-signed certificate in certificate chain You ship a service that calls an internal billing API over HTTPS. Works on your laptop at home. Monday morning you’re back on the office VPN, you npm… |
| CVE-— | Fix ‘fetch failed’ in Node.js It’s 2:15 on a Friday, a webhook handler that has run clean for months starts throwing on one upstream, and your logs show this and nothing else: TypeError:… |
| CVE-— | How to fix the CORS error in Express It’s 4 on a Friday, the API works perfectly in Postman, and your React dev server on localhost:5173 calling the Express API on localhost:3000 throws a wall of… |
| CVE-— | npm ERESOLVE unable to resolve dependency tree You bumped React from 18 to 19 on a Friday afternoon, ran npm install, and the terminal filled with red. The deploy you promised for Monday now hinges… |
| CVE-— | Cannot use import statement outside a module It was 11pm and a teammate had just merged a “tiny” dependency bump. CI went red on every service that imported our shared logging package. The stack trace… |

I've shipped APIs on all three. Sequelize from 2017 to 2020 on a payments API that's still in production. TypeORM through 2021 on a logistics dashboard, where the migration generator broke twice and burned a sprint each time.…