How to Fix Git Authentication Failed in VS Code - DNS Configuration Tips for ERR_NAME_NOT_RESOLVED-npm package.json Not Found: Troubleshooting 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.