Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75279

npm 1.8.0 hangs during installation in CI pipelines

      As per https://github.com/nodejs/docker-node/issues/1946 and https://github.com/npm/cli/issues/7814 this is a problem with npm version that node:20 installs, where the npm installation gets stuck until a timeout makes it fail.

      As per [BUG] npm 10.9.0 stuck in wsl with ubuntu environmentBug and [BUG] npm install always hangs on first attemptBug this is solved in npm:1.9.1. npm version is by default provided by node, so as per https://nodejs.org/dist/index.json using node version v22.13.0 or higher solves this issue.

      Instead of only bumping npm version, keeping node and npm versions aligned soun ds reasonable to me.

      npm and node versions are inherited from the parent pom, so it makes sense to bump versions there and then bump parent in these plugins 

          [JENKINS-75279] npm 1.8.0 hangs during installation in CI pipelines

            pbuenoyerbes Pedro Bueno
            pbuenoyerbes Pedro Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: