<p dir="auto">Similar to how <code class="notranslate">npm uninstall</code> works, I would like this feature to be added. You can pass the full URL used during the installation. Examples:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ deno uninstall https://deno.land/std/node/module.ts # Uninstall via URL
$ deno un https://deno.land/std/path/mod.ts           # Shorthand for `uninstall`"><pre class="notranslate">$ deno uninstall https://deno.land/std/node/module.ts <span class="pl-c"><span class="pl-c">#</span> Uninstall via URL</span>
$ deno un https://deno.land/std/path/mod.ts           <span class="pl-c"><span class="pl-c">#</span> Shorthand for `uninstall`</span></pre></div>
<p dir="auto">This way, we can uninstall modules faster rather than browsing the <code class="notranslate">~/.deno/bin</code> directory and uninstall the desired module</p>
<p dir="auto">As the title says: I have an API program which I want to turn into a single executable using <code class="notranslate">deno compile</code>. Everything works fine when using <code class="notranslate">deno run</code>, but using <code class="notranslate">deno compile</code> produces an executable which fails with:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught SyntaxError: Identifier 'i2' has already been declared
    at file://$deno$/bundle.js:7872:0"><pre class="notranslate"><code class="notranslate">error: Uncaught SyntaxError: Identifier 'i2' has already been declared
    at file://$deno$/bundle.js:7872:0
</code></pre></div>
<p dir="auto">I've managed to narrow the error down to the following fragment:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export { Database } from 'https://deno.land/x/denodb@v1.0.18/mod.ts';

console.log('Hello world.');"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-kos">{</span> <span class="pl-smi">Database</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'https://deno.land/x/denodb@v1.0.18/mod.ts'</span><span class="pl-kos">;</span>

<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s">'Hello world.'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The <code class="notranslate">export</code> is the issue. Changing this to an <code class="notranslate">import</code> makes the binary work. (In the original program this export is in my <code class="notranslate">deps.ts</code>, so changing it to <code class="notranslate">import</code> is not an option.) It also seems to happen only with denodb, but I'm not sure about what exactly triggers this.</p>
<p dir="auto">Any ideas on how to further debug this?</p>