<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="await import(&quot;npm:table&quot;);"><pre class="notranslate"><span class="pl-k">await</span> <span class="pl-k">import</span><span class="pl-kos">(</span><span class="pl-s">"npm:table"</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught (in promise) SyntaxError: Identifier '__esModule' has already been declared"><pre class="notranslate"><code class="notranslate">error: Uncaught (in promise) SyntaxError: Identifier '__esModule' has already been declared
</code></pre></div>
<p dir="auto">Happens with e.g. <code class="notranslate">redis</code> and <code class="notranslate">random</code>:</p>
<p dir="auto"><code class="notranslate">import { createClient } from 'npm:redis';</code></p>
<p dir="auto"><code class="notranslate">import random from 'npm:random'</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno run --unstable -A main.js
   
error: Uncaught SyntaxError: Identifier '__esModule' has already been declared
    at &lt;anonymous&gt; (file:///C:/Users/GJZwiers/AppData/Local/deno/npm/registry.npmjs.org/random/3.0.6/dist/cjs/index.js:8:14)"><pre class="notranslate"><code class="notranslate">deno run --unstable -A main.js
   
error: Uncaught SyntaxError: Identifier '__esModule' has already been declared
    at &lt;anonymous&gt; (file:///C:/Users/GJZwiers/AppData/Local/deno/npm/registry.npmjs.org/random/3.0.6/dist/cjs/index.js:8:14)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno --version

deno 1.25.0+da10c9c (canary, x86_64-pc-windows-msvc)
v8 10.6.194.5
typescript 4.7.4"><pre class="notranslate"><code class="notranslate">deno --version

deno 1.25.0+da10c9c (canary, x86_64-pc-windows-msvc)
v8 10.6.194.5
typescript 4.7.4
</code></pre></div>