Fix 'npm command not found' on Linux - MongoDB Compass Cannot Connect to Localhost 27017: Fixes-How to Resolve Maven Dependency Failures

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