title: NPM ERR Code E401: Unable to authenticate, need: Bearer authorization
body: <p>I downloaded a NodeJS application from GitHub and facing the following error when executing npm install.</p>
  <pre><code>npm ERR! code E401
  npm ERR! Unable to authenticate, need: Bearer authorization_uri=https://login.windows.net/c1156c2f-a3bb-4fc4-ac07-3eab96da8d10, Basic realm=&quot;https://pkgsprodeus21.pkgs.visualstudio.com/&quot;, TFS-Federated
  </code></pre>
  <p>My Node version is 6.13.1 and NPM version is 6.13.4.
  Following is the content of package.json file:</p>
  <pre><code>{
    &quot;name&quot;: &quot;DemoApp&quot;,
    &quot;version&quot;: &quot;1.0.0&quot;,
    &quot;description&quot;: &quot;A social oasis for lovers of pizza.&quot;,
    &quot;repository&quot;: &quot;****&quot;,
    &quot;main&quot;: &quot;index.js&quot;,
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;node index.js&quot;
    },
    &quot;author&quot;: &quot;****&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;dependencies&quot;: {
      &quot;@hapi/boom&quot;: &quot;7.4.2&quot;,
      &quot;@hapi/catbox&quot;: &quot;10.2.1&quot;,
      &quot;@hapi/catbox-redis&quot;: &quot;5.0.2&quot;,
      &quot;@hapi/cookie&quot;: &quot;10.1.0&quot;,
      &quot;@hapi/good&quot;: &quot;8.2.0&quot;,
      &quot;@hapi/good-squeeze&quot;: &quot;5.2.0&quot;,
      &quot;@hapi/hapi&quot;: &quot;18.3.1&quot;,
      &quot;@hapi/inert&quot;: &quot;5.2.1&quot;,
      &quot;@hapi/joi&quot;: &quot;15.1.0&quot;,
      &quot;@hapi/vision&quot;: &quot;5.5.2&quot;,
      &quot;aws-sdk&quot;: &quot;2.488.0&quot;,
      &quot;bcryptjs&quot;: &quot;2.4.3&quot;,
      &quot;bootflat&quot;: &quot;2.0.4&quot;,
      &quot;fs-extra&quot;: &quot;8.1.0&quot;,
      &quot;handlebars&quot;: &quot;4.1.2&quot;,
      &quot;lodash&quot;: &quot;4.17.13&quot;,
      &quot;pg&quot;: &quot;7.11.0&quot;,
      &quot;sequelize&quot;: &quot;5.9.4&quot;
    }
  }
  </code></pre>
  <p>I have been stuck at this issue since yesterday and still no luck finding the solution.
  Any help would be highly appreciated.</p>