JavaScript
No Access-Control-Allow-Origin: What CORS Is Really Doing
CORS errors are a browser protecting you from a response it already received. Understanding that one fact makes every CORS error obvious.
Module resolution, memory leaks, event loop stalls and the ESM and CommonJS boundary that breaks builds.
JavaScript
CORS errors are a browser protecting you from a response it already received. Understanding that one fact makes every CORS error obvious.
Node.js
Memory climbs, the process gets killed, and restarting fixes it for six hours. Here is the diff based method that finds the retainer.
Node.js
It used to be a warning. Since Node 15 it terminates the process, and that change surfaced a lot of latent bugs.
JavaScript
The error names the property, not the reason. Here is how to work backwards from the message to the function that returned nothing.