Fix Externally Managed Error: Create Virtual Environment - Resolve npm Build Failure from Node Version Mismatch-Fixing a Detached HEAD in Git with SourceTree

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