I've configured the email address on npmjs.com
, why does the cli keep prompting me to enter email?
$ npm login
npm notice Log in on https://registry.npmjs.org/
Username: wenfangdu
Password:
Email: (this IS public)
Even if I enter a wrong email that is different from the one I set on npmjs.com
, I can still log in.
Questions:
- What's the point of entering this email?
- Can it default to the email address I set on
npmjs.com
if I don't enter this field?