Fix npm run build Exit Code 1: Common Causes and Solutions - VS Code Git Error: Remote Origin Already Exists – Fix-Guide to Configuring Windows Search Index

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.