ng add
not authenticating with internal registry on v12
#21142
Labels
area: angular/cli
freq1: low
Only reported by a handful of users who observe it rarely
severity5: regression
type: bug/fix
Milestone
🐞 Bug report
After updating to v12,
ng add
breaks when used with our private npm registry.Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: <= v11
Description
When running
ng add
while NPM Registry is set to an internal Registry, the internal Registry is used but authentication information seems to be missing. This happens with both, yarn and npm. Runningnpm install
oryarn install
directly does work though.🔬 Minimal Reproduction
Set npm to use a private Registry that needs Basic authentication and run
ng add
. This will fail while runningnpm install
oryarn install
directly does not.🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: