Node.js Heap Out of Memory Troubleshooting Checklist - Nginx 502 Bad Gateway Docker Container Fix-Resolve npm Permission Errors After Node Upgrade

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.