The troubleshooting guides lead with the fix, then explain why it works and how to prevent the problem from returning.
Commands are checked before publication, and quoted errors match the terminal output. The guides also identify common fixes that are unsafe or do not address the cause.
Most used
How to undo a Git commit
Choose reset, revert, amend or rebase, and use the reflog when a history rewrite goes wrong.
TroubleshootingHow to fix CORS errors
Match the browser error to a missing header, failed preflight, origin mismatch or credential conflict.
CSSCSS Grid vs. Flexbox
A practical Grid-or-Flexbox decision rule, with patterns for card grids, sidebars and component layouts.
Everything else
-
Fixing 'Cannot find module' in Node
Which resolver ran, what it searched, and the extension, case and exports cases behind most failures.
-
Resolving a Git merge conflict properly
Read the markers, work out which side is ours, and prove the resolution kept work from both branches.
-
Why your React useState is not updating
Check captured values, state mutation, batching and effect dependencies when a state update seems to disappear.
-
Fixing npm ERESOLVE dependency conflicts
Find the incompatible peer range, then choose an upgrade, targeted override or documented temporary policy.
-
Why your Docker container exits immediately
Use logs and exit codes to find why a container stopped, then inspect the image without keeping a failed service artificially alive.
-
Fixing PostgreSQL connection refused
Check the process, listener, access rules, network and Docker address from the server outward.
-
Fixing SSH permission denied (publickey)
Read the ssh -vvv trace to find a missing key, rejected identity, wrong user, permission problem or legacy algorithm.
-
How JavaScript async/await behaves
Trace Promise start order, choose sequential or concurrent work, and keep asynchronous failures visible.
-
HTTP status codes for application developers
Choose useful status codes for authentication, validation, redirects, retries and upstream failures.