title: Why does Sonatype Nexus respond with a 405 error to `npm login`?
body: <p>When I attempt to <code>npm login</code> into to our Nexus Repository Manager npm repository, I get a response saying:</p>
  
  <pre class="lang-sh prettyprint-override"><code>npm ERR! code E405
  npm ERR! Registry returned 405 for PUT on http://hostname/-/user/org.couchdb.user:ci
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2019-07-23T17_30_33_494Z-debug.log
  </code></pre>
  
  <p>When I run the command with <code>--verbose</code> I get another hint saying:</p>
  
  <pre class="lang-sh prettyprint-override"><code>npm http 405 ← HTTP method PUT is not supported by this URL (http://hostname/-/user/org.couchdb.user:ci)
  </code></pre>
  
  <p>Why is it not letting me log in?</p>