Understanding and Fixing Git Detached HEAD State - Fixing Node Version Mismatch with package.json Engines-Resolve Nginx File Permission Denied Error

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