[BUG] <title> #4401
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I am trying to publish a new release for my project. I have 2FA enabled on the package and on my npmjs account.
I am able to do npm login successfully (via authenticator OTP)
But when I do yarn publish I encounter the following error:
error An unexpected error occurred: "https://registry.npmjs.com/mermaid: You must provide a one-time pass. Upgrade your client to npm@latest in order to use 2FA.".
info If you think this is a bug, please open a bug report with the information provided in "/mnt/c/mermaid/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
Expected Behavior
Ideally it should ask for OTP and allow me to publish.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: