Facing npm not found issue with sonarscanner latest

During sonar app stage run facing this npm not found issue
$ npm install --legacy-peer-deps
scripts-152/step_script: line 237: npm: command not found

My sonar-app stage is like

sonar-app:
  <<: *tpl_build_gcp
  stage: sonar_audit
  image:
    name: sonar-scanner-cli:latest-release
    entrypoint: [""]
  script:
    - apk add --no-cache chromium
    - export CHROME_BIN=/usr/bin/chromium-browser
    - cd app/path
    - ls
    - npm install --legacy-peer-deps
    - npm run unit-test
    - ls
    - sonar-scanner -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.login=${SONAR_TOKEN} -Dsonar.projectKey=application/path -Dsonar.sources=src

Hi,

This has nothing to do with analysis but with your setup steps. You’re calling npm, but it appears that it’s not installed on your build agent.

 
HTH,
Ann