Fix npm run build Failures After npm install - How to Fix Permission Denied Error in VS Code Terminal macOS-Resolving Git's Unrelated Histories Error

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