Fix npm ERR! code ERESOLVE After Node.js Upgrade - OneDrive Sync Error: File in Use – Troubleshooting Guide-Fix apt-get 'Could not get lock /var/lib/dpkg/lock'

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