-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Bugthing that needs fixingthing that needs fixing
Description
What / Why
2fa is disabled on my account and on the package (it was previously enabled on both).
Now, calls to npm access 2fa-required fail, which breaks my preferred publishing tool (np).
> npm access 2fa-required <my-package-name>
npm ERR! code E400
npm ERR! 400 Bad Request - POST https://registry.npmjs.org/-/package/<my-package-name>/access
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/<myusername>/.npm/_logs/2020-01-02T09_06_21_597Z-debug.log
> npm --version
6.13.4
Expected result
I expected npm access 2fa-required <my-package-name> to exit silently with a zero or non-zero exit code (depending on if 2fa is required or not)
When
- Today (2 Jan 2020)
Where
- CLI on my machine
npenin, collincusce, adrienpoly, papb, nerdyman and 4 more
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixing