Fix 'git pull failed index.lock file exists' Error - How to Resolve Port 5432 Already Allocated in Docker-Fix npm Global Install Permission Denied Without Sudo

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.