Fix 'pnpm global install permission denied' on Linux - Resolving ESLint errors during npm build-ERR_NAME_NOT_RESOLVED Fix Using Command Prompt

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