title: Cannot install npm packages from Sonatype Nexus private repository
body: <p>I am using Sonatype nexus as my repository where I have configured npm to have public and private repositories.</p>
  <ul>
  <li>npm-public -&gt; proxy for npm registry.</li>
  <li>npm-private -&gt; private repository to publish company related repositories.</li>
  <li>npm-group -&gt; group having access to above two repositories.</li>
  </ul>
  <p>my .npmrc file has config</p>
  <pre><code>registry=&lt;&lt;private_repo_url&gt;&gt;/npm-group/
  _auth=&lt;&lt;token&gt;&gt;
  strict-ssl=false
  always-auth=true
  </code></pre>
  <p>I get the following error when I install my private package on my local machine</p>
  <pre><code>npm ERR! code E401
  npm ERR! Unable to authenticate, need: BASIC realm=&quot;Sonatype Nexus Repository Manager&quot;
  
  npm ERR! A complete log of this run can be found in:
  </code></pre>
  <p>Although I can publish my private packages to &lt;&lt;private_repo_url&gt;&gt;/npm-internal/</p>
  <p>I am on <code>windows</code> laptop using <code>git bash</code>.
  Sonatype Nexus version: <code>3.15.2</code>
  nodejs: <code>v12.21.0</code>
  npm: <code>6.14.11</code></p>
  <p>Any help would be appreciated.</p>