<p dir="auto">Hello, I'd like to suggest a flag for <code class="notranslate">npm init</code> which creates a project using <code class="notranslate">"type": "module"</code>. <code class="notranslate">--esm</code>, <code class="notranslate">--module</code>, or similar. Would this change be welcome? Assuming it's trivial in the way I imagine I'd consider opening the PR for it. Thanks in advance!</p>
<p dir="auto">See issue <a href="https://github.com/coreybutler/nvm-windows/issues/799" data-hovercard-type="issue" data-hovercard-url="/coreybutler/nvm-windows/issues/799/hovercard">Error installing NodeJS 14.19.2 with npm version 6.14.17</a>.</p>
<p dir="auto">NVM uses the URL <a href="https://github.com/npm/cli/archive/v6.14.17.zip">https://github.com/npm/cli/archive/v6.14.17.zip</a> to download npm.<br>
This URL typed into a browser returns the same "error" as mentioned in the issue:<br>
<code class="notranslate">the given path has multiple possibilities: #&lt;Git::Ref:0x00007f49a98a1f98&gt;, #&lt;Git::Ref:0x00007f49a9891dc8&gt;</code></p>
<p dir="auto">Is there something you can do about this?</p>