How to Fix npm Run Build Failed Error - Defender Real-Time Protection Not Working Fix-Windows 10 Update Error 0x80070002 Troubleshooting

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