Fix npm install ENOENT: package.json Missing or Not Found - Fix Windows Search Error 0x80070490: Cannot Connect-Git Repository Not Found on Mac: How to Fix

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