Npm ci error during pipeline: This is a problem related to network connectivity

Denys Bornosus 0 Reputation points
2024-08-12T07:13:21.33+00:00

We are getting an error when installing npm (npm ci) packages from Azure Artifacts (npm registry) in Azure DevOps pipeline.

This issue appeared about a month ago. The tricky thing is that not all pipelines failed (several per day). Locally "npm ci" runs without any issues.

After re-run the failed job our pipeline passed with success.

We tried to run "npm ci" during the docker build step as well as a separate bash step:

  # Install npm packages
      - script: |
          npm ci
        displayName: 'Npm install'

User's image

Does someone have this issue? Any suggestions/ideas why it's happened?

Thank you

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmaranS 7,270 Reputation points Microsoft External Staff
    2024-08-12T07:35:54.4366667+00:00

    Hi Denys Bornosus,

    Thanks for reaching out. This question seems to be more related to Azure Devops. Currently Azure Devops is not supported in Microsoft Q&A forum. I would suggest you to open a discussion over the Azure Devops Developer Community channel.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.