Fix Microsoft Teams 502 Bad Gateway Error – Step-by-Step - Chrome 502 Error After Profile Reset Fix-Resolve pnpm Store Permission Denied for Global Packages

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