Build sonarjs plugin failed with access error to type-fest-4.41.0.tgz

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)
    Sonarqube version is v25.5.0.107428
  • how is SonarQube deployed: zip, Docker, Helm
    Zip file deployed on the window 10 laptop
  • what are you trying to achieve
    To install the sonarjs plugin
  • what have you tried so far to achieve this
    1. Pull the sonajs source code from github
    2. Follow the guilde to install the npm moudle
    – Hit the below error:
    3921 http cache https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.0.tgz 151ms (cache hit)
    3922 verbose stack HttpErrorAuthUnknown: Unable to authenticate, need: Basic realm=“Artifactory Realm”
    3922 verbose stack at C:\Users\VITG\AppData\Roaming\npm\node_modules\npm\node_modules\npm-registry-fetch\lib\check-response.js:88:17
    3922 verbose stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    3923 verbose statusCode 401
    3924 verbose pkgid type-fest@https://repox.jfrog.io/artifactory/api/npm/npm/type-fest/-/type-fest-4.41.0.tgz
    3925 error code E401
    3926 error Incorrect or missing password.
    3927 error If you were trying to login, change your password, create an
    3927 error authentication token or enable two-factor authentication then

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

There’s no need to install SonarJS in SonarQube; it’s there already.

 
HTH,
Ann