Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

npm-client-login no longer working in BB pipelines

Max Elston
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 21, 2021

I am trying to publish a package to NPM in BB pipelines. Everything was working fine however now it is failing due to 2FA errors. I have no 2FA set in NPM.

I am using npm-client-login to login in my bitbucket-pipelines.yml

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2021

Hi @Max Elston,

1. Just to confirm, are you using the following package?

https://www.npmjs.com/package/npm-cli-login

2. If so, is it the npm-cli-login command that is failing in your Pipelines build? If so, what is the output of the command? (Please make sure to sanitize any private/sensitive data from the output prior to sharing, if any)

3. Are you able to reproduce this error if you debug this locally with Docker, following the steps in the documentation below?

This is for testing purposes, to understand if the issue seems to be specific to Pipelines or not.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events