I just created a package called ionic3-star-rating
.
When I run the command npm publish
, it rejetcs with an error: "This package requires that publishers enable TFA and provide an OTP to publish". But I haven't enabled TFA (on running npm profile get
, it shows two-factor auth = disabled
). when I run the command npm profile disable-2fa
, it shows the message "Two factor authentication not enabled".
Why does this happen? I had to create another package to publish my latest changes.