Fix npm run build Failed Due to Missing Dependencies - Git Fatal: Refusing to Merge Unrelated Histories – Workaround-Node Sass Build Error Fix Guide

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