Skip to main content

40 errors · 207 ranked causes

Fix an Error

The forty error messages developers hit most often, one page each. Every page opens with what the message actually means, shows the console output so you can confirm you are in the right place, then lists the causes in the order they are usually to blame — with the fix attached to each one rather than a list of things to try.

Nothing here suggests a destructive command as a first resort, and where a fix carries real risk the page says so in the same breath. Use Ctrl-F to find your message, or pick an ecosystem below.

Node.js

Module resolution, ports, file paths and memory — the errors that stop a server before it serves anything.

npm

Install failures, and why the obvious workaround for each is the wrong one.

Python

Indentation, imports, None and the conversions that fail on real-world data.

Git

Pushes that are refused, merges that stop, and the states that look like lost work but are not.

Browser and JavaScript

What the console says when a page breaks, and what it usually means underneath.

TypeScript

The four compiler errors that account for most of a strict-mode migration.

Docker

Ports, disk and permissions — where the fix is often on the host, not in the image.

HTTP status codes

The four responses that send people looking for an explanation, including the two pairs that are constantly confused.

Somewhere to reproduce it

Isolating a failure in a scratch file is usually quicker than debugging it in place. AltF Code is a free browser-based editor built on the engine behind Visual Studio Code, with real highlighting for HTML, CSS, JavaScript, TypeScript, JSON, Markdown, Python and SQL, and live execution for HTML, CSS and JavaScript.

About this set

How do I find my error here?
Search this page with Ctrl-F (Cmd-F on a Mac) for the distinctive part of the message — the error code, or four or five unusual words. Every page shows the exact console output as well, so you can confirm you are looking at the right one before you change anything.
Are the fixes safe to run as written?
They are written to be. No page offers a destructive command as its first suggestion: there is no rm -rf, no chmod 777, no force push at a shared branch, and sudo npm install -g is named as the wrong answer for EACCES rather than the fix. Where an action genuinely carries risk — ignoring peer dependency ranges, pruning Docker volumes, joining the docker group — the page says so in the same sentence that suggests it.
Why are the causes numbered?
Because order is most of the value. The causes on each page are ranked by how often they are actually the problem, so working from the top down finds the answer faster than reading everything. The first cause is right far more often than the last.
My error message is slightly different. Is the page still relevant?
Usually yes. Error text changes between versions — line numbers move, wording is tightened, some runtimes add a hint line — while the underlying cause stays the same. Match on the error code or the distinctive phrase rather than on the whole string.