How to Fix npm Run Build Failed Error - Fix Nginx 502 Bad Gateway with Docker Socket-Fixing Node Version Mismatch with package.json Engines

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