Fix Node.js Heap Out of Memory When Running Tests - Why npm Says 'package.json Not Found' and How to Fix It-Fixing Python UnicodeDecodeError on File Open

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.