Fixing pnpm install Exit Code 1 Errors - How to Resolve Non Fast Forward Rebase Rejection-Fix 0x80070002 Error by Resetting Windows Update Components

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