Fix 'npm install' Permission Denied When Using Yarn - Git Fatal: Refusing to Merge Unrelated Histories – Workaround-Troubleshooting Nginx 502 in Docker Multi-Container Environments

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