npm run build Failed: Troubleshooting Checklist - Resolve pip Externally Managed Environment Error-How to Fix Access Denied in VS Code Terminal

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.