[BUG] NPM v7.11.0 private registry authentication 401 with username/password #3284
Labels
Bug
thing that needs fixing
Needs Discussion
is pending a discussion
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
Private registry authentication seems to have been broken in npm v7.11.0 when installing specific packages with
username
andpassword
defined in~/.npmrc
instead of_auth
.npm ci
is unaffected.Expected Behavior
Private registry authentication should work in
>= 7.11.0
the way it did in< 7.11.0
.I tried messing with the repo url a little, but I wasn't able to get anything to work. Is this an expected configuration change? If so I couldn't find any documentation about what needs to change.Steps To Reproduce
My (redacted) ~/.npmrc`:
Environment
The text was updated successfully, but these errors were encountered: