Fix npm Run Build Out of Memory Errors - Troubleshoot Git Merge Conflict Exit Code 128-Git Merge Unrelated Histories Without Losing Commits

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