Fix pnpm install --frozen-lockfile Not Working - Resolve Teams 504 Configuration Issue-How to Resolve 'Service Not Found' for Task Scheduler in Ubuntu

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