I just created a new package: https://github.com/supericium/pli
I\'m now trying to publish it to NPM for the first time like this:
ole@MKI:~/Sand
You could also get this error when you change your password to NPM but you do not logout/login via your CLI. Using npm logout and then npm login worked for me.
npm logout
npm login