Fix Git 'index.lock file exists' Error - TypeScript Compilation Error Fix for npm Build-Fix Git Permission 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.