npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm install hangs inside pipeline within dockerized Jenkins

Hi,

When trying to run ‘npm install’ inside a container in Jenkins (docker build command) the installation seems to hang forever without returning any errors.
In 2 or 3 occasions, the build has actually worked.
Using npm install --verbose does not show any relevant information regarding this error.
Have you come across this before? Could you please help me figure out what’s happening?
Thank you!