Fix npm install ENOENT and Permission Denied Errors - MongoDB Upgrade Breaks Authentication: Troubleshooting Guide-How to Resolve Defender Token Expired via Registry

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