yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.4k stars 2.73k forks source link

yarn publish: incorrect password or username #8955

Open McEazy2700 opened 1 year ago

McEazy2700 commented 1 year ago

Hi I keep getting this error when I run yarn publish even though I'm sure I'm passing the correct details.

➜  react_component_library git:(master) ✗ yarn publish
yarn publish v1.22.19
[1/4] Bumping version...
info Current version: 0.0.1
question New version: 0.0.1
[2/4] Logging in...
info npm username: ******
info npm email:******
question npm password: 
error Incorrect username or password.
info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
➜  react_component_library git:(master) ✗ 

please, any help will be greatly appreciated

Z-wave commented 8 months ago

I have the same problem. It started fine and then suddenly became like this. However, npm publish does not always have this problem.