npm publish failed


(Vasttian) #1

Hello guys,
I just created a package called vue-cli-plugin-ym-basis.
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.

Thx.


(system) #2

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.