npm / npm-registry-client

http://npm.im/npm-registry-client
ISC License
264 stars 108 forks source link

`npm access public` without credentials #105

Open bcoe opened 9 years ago

bcoe commented 9 years ago

observed behavior

If a user runs:

npm access public

without any credentials, the following error is outputted:

npm info retry will retry, error on last attempt: Error: This request requires auth credentials. Runnpm loginand repeat the request.

Rather than exiting, the CLI attempts its retry logic.

expected behavior

CLI exists if it has no credentials.