<p dir="auto">deno: 0.10.0<br>
v8: 7.7.37<br>
typescript: 3.5.1</p>
<p dir="auto">When you try to import an ecmascript module using the <a href="https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop" rel="nofollow">REPL</a>, you get an Uncaught SyntaxError:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; import Drash from &quot;https://deno.land/x/drash@v0.8.6/mod.ts&quot;;
error: Uncaught SyntaxError: Unexpected identifier
► &lt;unknown&gt;:1:8
    at evaluate (js/repl.ts:87:34)
    at replLoop (js/repl.ts:145:13)"><pre class="notranslate"><code class="notranslate">&gt; import Drash from "https://deno.land/x/drash@v0.8.6/mod.ts";
error: Uncaught SyntaxError: Unexpected identifier
► &lt;unknown&gt;:1:8
    at evaluate (js/repl.ts:87:34)
    at replLoop (js/repl.ts:145:13)
</code></pre></div>
<p dir="auto">Node.js allows CommonJS module loading using their REPL, but I'm unable to import ES modules there either: <a href="https://stackoverflow.com/questions/56963708/" rel="nofollow">https://stackoverflow.com/questions/56963708/</a>.</p>
<p dir="auto">When in the Deno REPL and executing:<br>
<code class="notranslate">import { env } from "deno";</code></p>
<p dir="auto">The output is:<br>
<code class="notranslate">SyntaxError: Unexpected token {</code></p>
<p dir="auto">Probably related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="377593861" data-permission-text="Title is private" data-url="https://github.com/denoland/deno/issues/1158" data-hovercard-type="issue" data-hovercard-url="/denoland/deno/issues/1158/hovercard" href="https://github.com/denoland/deno/issues/1158">#1158</a></p>
<p dir="auto">Executing: <code class="notranslate">deno -v</code> on the commandline returns:<br>
<code class="notranslate">deno: 0.2.1</code><br>
<code class="notranslate">v8: 7.1.302.4</code><br>
<code class="notranslate">typescript: 3.2.1</code></p>