-
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 install" not working for private artifactories #2008
Comments
Have the same thing. Changed my configuration to use
|
Add legacy `_auth` token to flatOptions in order to support it when reaching out to registries. Fixes: npm#2008
The solution posted by @aukevanleeuwen does not seem to work with email address usernames, even when urlencoding the |
Add legacy `_auth` token to flatOptions in order to support it when reaching out to registries. Fixes: #2008 Credit: @ruyadorno Close: #2153 Reviewed-by: @isaacs
Like I said in the PR comments a couple of days ago, I think the PR #2153 has never been merged so I think that issue shouldn't be closed. |
@tremblaysimon the commit referenced above indicates it's in v7.0.11+. |
Current Behavior:
npm install
with npm v7.0.2 throws the following exception (verbose log):.npmrc:
Expected Behavior:
should just work. the above works with npm v6+
Steps To Reproduce:
see above
Environment:
macOS Catalina 10.15.6
node.js v15.0.0 (but also reproduces with node.js v14.14.0 and a global npm upgrade to v7)
npm v7.0.2
if it matters:
nvs v1.6.0
The text was updated successfully, but these errors were encountered: