need basic realm= https //pkgsprodcus1.pkgs.visualstudio.com/ code example
Example: npm install Unable to authenticate, need: Bearer authorization_uri
npm i -g vsts-npm-auth
vsts-npm-auth -config .npmrc
npm i -g vsts-npm-auth
vsts-npm-auth -config .npmrc