-
Notifications
You must be signed in to change notification settings - Fork 12k
error 401 unauthorized with custom .npmrc during ng update #10704
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
Comments
I have same issue, using yarn though... |
Seems like the |
Dupe of #10624 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
.npmrc
containing credentials for connecting to custom npm registryObserved behavior
running the step
ng update @angular/cli
results in an error message401 unauthorized
.Removing the custom
.npmrc
along with internal dependencies frompackage.json
and runningng update @angular/cli
succeedsDesired behavior
ng update @angular/cli
works without removing the custom.npmrc
or at least prints a more useful error messageThe text was updated successfully, but these errors were encountered: