<p dir="auto">Hey team,</p>
<p dir="auto">Since the last version of deno, compile cmd produce a strange error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError: Number.isInteger is not a function
    at queue (file://$deno$/bundle.js:4976:17)
    at ProjectResolver.resolveProjects (file://$deno$/bundle.js:7655:31)
    at async Sync.process (file://$deno$/bundle.js:8498:34)
TypeError: Number.isInteger is not a function
TypeError: Number.isInteger is not a function
    at queue (file://$deno$/bundle.js:4976:17)
    at ProjectResolver.resolveProjects (file://$deno$/bundle.js:7655:31)
    at async Sync.process (file://$deno$/bundle.js:8498:34)"><pre class="notranslate"><code class="notranslate">TypeError: Number.isInteger is not a function
    at queue (file://$deno$/bundle.js:4976:17)
    at ProjectResolver.resolveProjects (file://$deno$/bundle.js:7655:31)
    at async Sync.process (file://$deno$/bundle.js:8498:34)
TypeError: Number.isInteger is not a function
TypeError: Number.isInteger is not a function
    at queue (file://$deno$/bundle.js:4976:17)
    at ProjectResolver.resolveProjects (file://$deno$/bundle.js:7655:31)
    at async Sync.process (file://$deno$/bundle.js:8498:34)
</code></pre></div>
<p dir="auto">It works greatly with <code class="notranslate">deno run</code>. And compile works on Deno 1.11.2.<br>
I don't have more log than that.</p>
<p dir="auto">After upgrading to version 1.14 this error happened when using <code class="notranslate">deno bundle</code></p>
<p dir="auto">Example test.ts code:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { Application } from &quot;https://deno.land/x/oak@v9.0.0/mod.ts&quot;;

const app = new Application();

app.use((ctx) =&gt; {
  ctx.response.body = &quot;Hello World!&quot;;
});

await app.listen({ port: 8000 });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">Application</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"https://deno.land/x/oak@v9.0.0/mod.ts"</span><span class="pl-kos">;</span>

<span class="pl-k">const</span> <span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">Application</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">use</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">ctx</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span>
  <span class="pl-s1">ctx</span><span class="pl-kos">.</span><span class="pl-c1">response</span><span class="pl-kos">.</span><span class="pl-c1">body</span> <span class="pl-c1">=</span> <span class="pl-s">"Hello World!"</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span>

<span class="pl-k">await</span> <span class="pl-s1">app</span><span class="pl-kos">.</span><span class="pl-en">listen</span><span class="pl-kos">(</span><span class="pl-kos">{</span> <span class="pl-c1">port</span>: <span class="pl-c1">8000</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Commads:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="deno bundle test.ts out.js
deno run -A out.js"><pre class="notranslate">deno bundle test.ts out.js
deno run -A out.js</pre></div>
<p dir="auto">Error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: Uncaught ReferenceError: Cannot access 'Response' before initialization
const DomResponse = Response;
                    ^"><pre class="notranslate"><code class="notranslate">error: Uncaught ReferenceError: Cannot access 'Response' before initialization
const DomResponse = Response;
                    ^
</code></pre></div>
<p dir="auto">Deno version</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno 1.14.0 (release, x86_64-apple-darwin)
v8 9.4.146.15
typescript 4.4.2"><pre class="notranslate"><code class="notranslate">deno 1.14.0 (release, x86_64-apple-darwin)
v8 9.4.146.15
typescript 4.4.2
</code></pre></div>