Fix 'nginx configuration test failed invalid parameter' - Resolve npm install ENOENT: Step-by-Step Guide-Resolve npm Global Permission Denied on macOS/Linux

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