This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-26
Channels
- # 100-days-of-code (1)
- # aleph (4)
- # beginners (112)
- # boot (2)
- # business (4)
- # calva (3)
- # cider (37)
- # clara (26)
- # cljs-dev (6)
- # cljsrn (1)
- # clojars (4)
- # clojure (89)
- # clojure-brasil (1)
- # clojure-conj (1)
- # clojure-dev (81)
- # clojure-dusseldorf (8)
- # clojure-italy (41)
- # clojure-nl (3)
- # clojure-spec (11)
- # clojure-uk (14)
- # clojurescript (73)
- # cursive (1)
- # data-science (3)
- # datomic (2)
- # dirac (9)
- # duct (6)
- # emacs (4)
- # figwheel-main (1)
- # fulcro (47)
- # incanter (3)
- # jobs-discuss (43)
- # leiningen (18)
- # luminus (6)
- # lumo (4)
- # mount (4)
- # off-topic (31)
- # portkey (8)
- # protorepl (5)
- # re-frame (9)
- # reagent (15)
- # reitit (2)
- # ring-swagger (7)
- # shadow-cljs (28)
- # specter (4)
- # tools-deps (8)
- # uncomplicate (1)
with this repo:
[email protected]:vigilancetech-com/hoplon-test.git
I'm getting nothing but Build failure:
from the watch task and this from the server:
...
shadow-cljs - nREPL server started on port 42651
Exception in thread "async-dispatch-5" java.lang.Error: java.net.SocketException: Socket closed
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1155)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118)
at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:207)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:129)
at java.io.BufferedWriter.flush(BufferedWriter.java:253)
at clojure.core$flush.invokeStatic(core.clj:3703)
at clojure.core$prn.invokeStatic(core.clj:3713)
at clojure.core$prn.doInvoke(core.clj:3706)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at shadow.cljs.devtools.server.util$stdout_dump$fn__13982$state_machine__6460__auto____13987$fn__13990.invoke(util.clj:213)
at shadow.cljs.devtools.server.util$stdout_dump$fn__13982$state_machine__6460__auto____13987.invoke(util.clj:213)
at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:973)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:972)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:977)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:975)
at clojure.core.async.impl.ioc_macros$take_BANG_$fn__6478.invoke(ioc_macros.clj:986)
at clojure.core.async.impl.channels.ManyToManyChannel$fn__2089$fn__2090.invoke(channels.clj:95)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
... 2 more
This is me toying around with shadow's electron example. This is one thing ya gotta love about clojuresque languages. Opaque error messages. Anyone have an idea what it is (and why it doesn't tell me anything useful)?Also, I'm pretty sure I saw a flag to make shadow not output custom terminal codes (e.g. vt100) so it could be used, for example, in eshell. Now I can't find it (and it doesn't appear to be anywhere in the manual). Does anyone remember what it is?
@vigilancetech that is not a build failure message
and to be of any use debugging I need to know which command you used in which environment
Hello all - I'm quite new to clojurescript and shadow-cljs. I'm thinking about the possibility to write your own cljs code for an existing React template.
For example - I'm curious in using this one: https://github.com/coreui/coreui-free-react-admin-template
Is it possible to write cljs code that includes components/scss/etc from the template, and build such project with shadow-cljs?
@robert-johansson JS/CLJS yes, scss no
@thheller OK sounds promising. So I could probably then add JS/JSX files from the template to a shadow-cljs project, and then import components locally from my cljs code?
jsx files are going to need to be pre-processed but then they can be imported normally yes
@thheller That seems to be exactly what I need. Thanks!
is there a flag today to make the builds serial? its for my ci thing, or do I have to run separated processes?
hi, how can I stop a watch?
I’m starting it “shadow-cljs watch app”
@wilkerlucio there is no flag no but you can create a function and call that via shadow-cljs run
thanks
@wilkerlucio just pushed 2.6.19
which now does release
sequentially instead of parallel
thanks!
how do I know and change the version of clojure(Script) in my shadow-cljs configuration?