title: Yarn 3 - How to point installer to correct registry
body: <p>In my current project which uses NPM Enterprise (i.e. has an internal npm registry), I'm following the steps to <a href="https://yarnpkg.com/getting-started/migration#step-by-step" rel="nofollow noreferrer">migrate from Yarn Classic to Modern</a>. Step 7 says to run <code>yarn install</code>. In doing so, the install fails because it's looking for a library in the public registry:</p>
  <pre><code>➤ YN0035: │ AppolloReact@npm:^2.3.21: The remote server failed to provide the requested resource
  ➤ YN0035: │   Response Code: 404 (Not Found)
  ➤ YN0035: │   Request Method: GET
  ➤ YN0035: │   Request URL: https://registry.yarnpkg.com/AppolloReact
  </code></pre>
  <p>The Request URL should list our internal registry <code>https://npme.&lt;name&gt;.com</code>. I checked that npm has the correct registry by running</p>
  <pre><code>yarn config get registry
  </code></pre>
  <p>As an aside, YN0035 error code is not listed in the <a href="https://yarnpkg.com/advanced/error-codes/#gatsby-focus-wrapper" rel="nofollow noreferrer">Error Codes</a> section, although I guess it means http error.</p>
  <p>Anyone have experience with redirecting the installer to point to an internal registry?</p>