The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Cannot setup TFA (two-factor auth)
What I Wanted to Do
I wanted to setup TFA on my account.
What Happened Instead
I chose to protect authentication, and then scanned the code in my auth app. After entering the code, an error screen appeared with the following error:
getaddrinfo ENOTFOUND npm-auth-ws-1-west.internal.npmjs.com npm-auth-ws-1-west.internal.npmjs.com:443 id: wubwub-7-west:9f932cd9-8237-426f-a80f-79e20d3bd27e
Go to Profile Settings, Enable 2FA. Go through the steps as described:
Choose protect authentication, scan QR code in auth app, and enter the code provided by such app.