Unable to scan node js through sonarscan

We are using sonarqube enterprises 8.9.1
And we tried to scan our code using Jenkins pipeline. And we are getting below error

ERROR: Error when running: ‘node -v’. Is Node.js available during analysis?
org.sonarsource.nodejs.NodeCommandException: Error when running: ‘node -v’. Is Node.js available during analysis?
at

Node js is available in master node and we checked the version node -v it’s 10.2.3

Hey there.

You’ll need to make sure NodeJS is also installed (and you can successfully run node -v on any “slave” agents.

It’s available in agent and it’s running