Fix 'npm command not found' and Permission Denied Errors - pnpm --frozen-lockfile Not Working Solutions-PowerShell Error Checklist

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