SonarScanner failing in Jenkins after upgrading to 10.5

A post was split to a new topic: SonarQube 25.5: [ERROR] Error when running: ‘node -v’