<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged clojurescirpt</title>
<link>https://ask.clojure.org/index.php/tag/clojurescirpt</link>
<description></description>
<item>
<title>cannot run ClojureScript on Windows 10 at all</title>
<link>https://ask.clojure.org/index.php/10615/cannot-run-clojurescript-on-windows-10-at-all</link>
<description>&lt;p&gt;hi anyone:&lt;/p&gt;
&lt;p&gt;I tried to follow the instructions from the &quot;ClojureScript Quick Start&quot;, on Windows 10. I tried&lt;br&gt;
both the Ubuntu way in WSL and the powershell way. However, both failed. Ubuntu failed with:&lt;/p&gt;
&lt;p&gt;clj -M --main cljs.main --compile hello-world.core --repl&lt;br&gt;
Failed to launch a browser:&lt;/p&gt;
&lt;p&gt;No X11 DISPLAY variable was set, but this program performed an operation which requires it.&lt;br&gt;
You can instead launch a non-browser REPL (Node or Nashorn).&lt;br&gt;
You can disable automatic browser launch with this REPL option&lt;br&gt;
  :launch-browser false&lt;br&gt;
and you can specify the listen IP address with this REPL option&lt;br&gt;
  :host &quot;127.0.0.1&quot;&lt;br&gt;
Waiting for browser to connect to &lt;a rel=&quot;nofollow&quot; href=&quot;http://localhost:9000&quot;&gt;http://localhost:9000&lt;/a&gt; ...&lt;br&gt;
ClojureScript 1.10.758&lt;br&gt;
cljs.user=&amp;gt;&lt;/p&gt;
&lt;p&gt;---&amp;gt;&amp;gt;&amp;gt; then how can I open browser with the web? The REPL can type, but respond nothing. (ex: (+ 1 2) give me no feedback at all)&lt;/p&gt;
&lt;p&gt;The powershell way failed with:&lt;/p&gt;
&lt;p&gt;java -cp &quot;cljs.jar;src&quot; cljs.main --compile hello-world.core --repl&lt;br&gt;
ClojureScript 1.10.758&lt;br&gt;
cljs.user=&amp;gt;&lt;/p&gt;
&lt;p&gt;---&amp;gt;&amp;gt;&amp;gt; then it just hang there, cannot type anything. The localhost:9000 will open, but just keep rolling/waiting, console see no &quot;Hello World!&quot; either.&lt;/p&gt;
&lt;p&gt;Is there any way for me to start ClojureScript on Windows 10? docker way, docker in WSL way? any working way, please. Thanks!&lt;/p&gt;
</description>
<category>ClojureScript</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10615/cannot-run-clojurescript-on-windows-10-at-all</guid>
<pubDate>Sun, 16 May 2021 23:28:10 +0000</pubDate>
</item>
</channel>
</rss>