-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] NPM v7.11.0 private registry authentication 401 with username/password #3284
Comments
The offending URL is:
|
Per #3130 I switched to using
|
afaik username/password auth is still supported via |
Same issue here. Downgrading to 7.10 worked. In my case, I get a 404 instead of a 401, but that may be due to some proxying issue in our internal artifactory setup. |
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: