title: How can you use npx create-react-app with templates in a private registry?
body: <p>I'm trying to use <code>npx create-react-app</code> with a <code>--template</code> from a private NPM registry, for example:</p>
  <pre><code>npx create-react-app example-app --template @private/mytemplate
  </code></pre>
  <p>I've added a <code>.npmrc</code> file to the root directory that points to the private registry. I've ensured this is setup correctly because I'm able to install private NPM packages without any problems.</p>
  <p>However, when I run thecommand it defaults back to the normal NPM registry and I receive an error that my private template package doesn't exist:</p>
  <pre><code>404 Not Found - GET https://registry.npmjs.org/@private/mytemplate
  </code></pre>
  <p>If I update the NPM registry manually through <code>npm config set registry [my registry]</code> then I receive an error that <code>create-react-app</code> doesn't exist.</p>
  <p>Is there a way to use <code>create-react-app</code> from the public registry and point to a template stored in my private registry in a single command? Or in other words, how can you use <code>npx create-react-app</code> with templates stored in a private registry?</p>