[BUG] Cannot set _auth without first setting email #2852
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
So I try adding email to my npmrc directly, then:
Seems like doing
npm config set
gets rid of your email, no matter which key you are setting (including email itself)Expected Behavior:
npm config set
to not delete email settingSteps To Reproduce:
npm set config _auth foo
Environment:
Log:
The text was updated successfully, but these errors were encountered: