~/troubleshooting
§ TROUBLESHOOTING · 7 ENTRIES

Troubleshooting

Fix-it guides for the recurring errors developers actually search for: stack traces, build failures, runtime exceptions, and configuration mistakes across Python, JavaScript, TypeScript, and Node.

7 troubleshooting updated May 8
7 troubleshooting Sort:
All Featured New
MAY 17 9 min
ModuleNotFoundError: No module named X – the 5-minute Python fix
ModuleNotFoundError almost always means one of five things. Check them in this order to fix the 'No module named X' error in under five minutes.
unrated
read →9 min
MAY 17 8 min
Python TypeError: ‘NoneType’ object is not subscriptable: 5 fixes
The 5 places in Python where a function returns None instead of a value, and the small change that turns each one into a loud, useful error.
unrated
read →8 min
MAY 16 8 min
Python SyntaxError: invalid syntax – the 7 most common causes
The 7 patterns that cause 90% of SyntaxError: invalid syntax messages in Python, with the exact line you should look at first and the fix for each.
unrated
read →8 min
MAY 16 8 min
React useState not updating: 6 reasons and the fix for each
Six reasons React useState appears not to update: stale closure, batched updates, mutating state, async race, parent re-render, Strict Mode. Each fix.
unrated
read →8 min
MAY 15 7 min
Cannot read properties of undefined: 6 root causes, 1 fix each
Six places this JavaScript TypeError comes from, in order from most to least common, with the exact line you should rewrite for each.
unrated
read →7 min
MAY 14 8 min
Fix CORS errors in JavaScript: Express, Nginx, React proxy
Three real CORS fixes, in priority order: Express cors() middleware, Nginx headers, Vite/CRA proxy. With the diagnostics that pick the right one in 30 seconds.
unrated
read →8 min
MAY 13 8 min
JavaScript TypeError: X is not a function – 5 root causes
Five root causes of TypeError: X is not a function in JavaScript, ranked by how often I see them in production logs, with the one-line fix for each.
unrated
read →8 min
esc