npm EACCES Permission Denied: Complete Troubleshooting Checklist - Fixing Windows Security 502 Bad Gateway Errors-Fix Command Prompt Version Mismatch Errors

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