try.npmjs.org</code>.</p>
<p>This check is done against whichever registry you've configured (you can see
what that is by running <code class="language-text">npm config get registry</code>), and if you're using a
private registry that doesn't support the <code class="language-text">/whoami</code> endpoint supported by the
primary registry, this check may fail.</p>
<h4 id="npm--v" style="position:relative;"><a href="#npm--v" aria-label="npm  v permalink" class="header-link-class before"><svg aria-hidden="tru