This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-05
Channels
- # beginners (229)
- # cider (54)
- # cljs-dev (187)
- # cljsrn (1)
- # clojure (187)
- # clojure-dev (5)
- # clojure-italy (31)
- # clojure-losangeles (1)
- # clojure-russia (3)
- # clojure-spec (76)
- # clojure-uk (29)
- # clojurescript (94)
- # cursive (18)
- # datascript (8)
- # datomic (26)
- # docker (6)
- # emacs (19)
- # figwheel (6)
- # fulcro (41)
- # garden (1)
- # graphql (1)
- # hoplon (33)
- # jobs (1)
- # jobs-discuss (1)
- # lein-figwheel (14)
- # leiningen (7)
- # nrepl (10)
- # nyc (1)
- # off-topic (2)
- # onyx (2)
- # parinfer (25)
- # portkey (6)
- # powderkeg (1)
- # protorepl (1)
- # re-frame (14)
- # reagent (14)
- # shadow-cljs (31)
- # spacemacs (3)
- # test-check (33)
- # uncomplicate (1)
- # unrepl (40)
- # vim (5)
- # yada (16)
Hi, are there any examples to use shadow-cljs
do server-side-rendering
for NodeJS-Express.js apps?
shadow-cljs - server starting ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C
upgraded shadow-cljs to 2.2.3
and server takes forever to start. Any idea what I might be doing wrong?is this a problem: 12:12:10.950 [main] WARN shadow.cljs.devtools.server - TCP Port 9630 in use.
12:16:49.736 [main] WARN shadow.cljs.devtools.server - TCP Port 9630 in use.
12:16:49.736 [main] DEBUG io.undertow - starting undertow server io.undertow.Undertow@48e7a9df
12:16:49.737 [XNIO-2 I/O-1] DEBUG org.xnio.nio - Started channel thread 'XNIO-2 I/O-1', selector sun.nio.ch.KQueueSelectorImpl@644bfa05
12:16:49.737 [XNIO-2 I/O-2] DEBUG org.xnio.nio - Started channel thread 'XNIO-2 I/O-2', selector sun.nio.ch.KQueueSelectorImpl@4bab6946
12:16:49.737 [XNIO-2 I/O-3] DEBUG org.xnio.nio - Started channel thread 'XNIO-2 I/O-3', selector sun.nio.ch.KQueueSelectorImpl@6ac624a3
12:16:49.737 [XNIO-2 I/O-4] DEBUG org.xnio.nio - Started channel thread 'XNIO-2 I/O-4', selector sun.nio.ch.KQueueSelectorImpl@3485eed4
12:16:49.737 [main] DEBUG io.undertow - Configuring listener with protocol HTTP for interface 0.0.0.0 and port 9631
12:16:49.738 [XNIO-2 Accept] DEBUG org.xnio.nio - Started channel thread 'XNIO-2 Accept', selector sun.nio.ch.KQueueSelectorImpl@5d754450
BindException: Address already in use (Bind failed)
java.net.PlainSocketImpl.socketBind (PlainSocketImpl.java:-2)
java.net.AbstractPlainSocketImpl.bind (AbstractPlainSocketImpl.java:387)
java.net.ServerSocket.bind (ServerSocket.java:375)
java.net.ServerSocket.bind (ServerSocket.java:329)
clojure.tools.nrepl.server/start-server (server.clj:145)
clojure.tools.nrepl.server/start-server (server.clj:121)
shadow.cljs.devtools.server.nrepl/start (nrepl.clj:278)
shadow.cljs.devtools.server.nrepl/start (nrepl.clj:266)
Error encountered performing task 'run' with profile(s): 'base,system,user,provided,dev'
Suppressed exit
there is something weird going on with java processes hanging around when the node process gets killed
@thheller just killed all. Is there a way to link a process back to the execution command? As in all processes started by shadow-cljs *
in the node repl I'm getting strange error, that was fixed seemingly while ago for
(defprotocol Fun-Time (drinky-drinky [_]))
i get
IllegalStateException: Can't change/establish root binding of: *unchecked-if* with set
reported here
https://groups.google.com/forum/#!msg/clojurescript/__Qf6L40cwU/MP7pTpTFDAAJ
I explicitly added the most recent clojurescript as dependency, but this may be clojurescript bug.