-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with npm v9+: npm access 2fa-required is not a valid access command
#692
Comments
Seems like all of the I believe the new command should be |
I would like to take a look at this 🙂 |
Opened a PR here #693 |
Thanks for the PR @DerTimonius and for the review and merge @sindresorhus ! I'm guessing this will be released soon in |
@sindresorhus would it be possible to get a new version of |
Great, thanks! 🙌 |
Description
Publishing a package for the first time causes an error with
npm access
:npm access 2fa-required
was a command innpm@8
:The
npm access 2fa-required
command seems to be gone from thenpm@9
docs:Steps to reproduce
npm
v9+Expected behavior
No errors when publishing a package for the first time with
npm
v9+Environment
np - 7.7.0
Node.js - 18.14.1
npm - 9.3.1
Git - 2.39.2
OS - macOS 13.3.1
Workaround
Downgrade
npm
to v8:cc @DerTimonius in case you want to do another PR :)
The text was updated successfully, but these errors were encountered: