Recover Lost Changes After Git Detached HEAD - How to Fix npm run build Dependency Errors-Fix Node.js --max-old-space-size Not Taking Effect

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