Fork me on GitHub
#cryogen
<
2021-08-27
>
Noah Bogart19:08:55

hey all, decided to try out cryogen and i can’t seem to make clojure -X:serve work. i get “The connection was reset” whenever I load “localhost:3000"

seancorfield19:08:32

@nbtheduke Two Qs: when you run that command, do you get the prompt back immediately? what version of clojure are you running? (`clojure -version`)

Noah Bogart19:08:23

$ clojure -version
Clojure CLI version 1.10.3.933

Noah Bogart19:08:44

$ clojure -X:serve
Init: fast compile enabled =  false
loading module: Flexmark parser
compiling assets...
...
"Elapsed time: 1073.843019 msecs"
2021-08-27 15:58:53.995:INFO:oejs.Server:jetty-7.6.13.v20130916
2021-08-27 15:58:54.029:INFO:oejs.AbstractConnector:Started [email protected]:3000
Started server on port 3000

Noah Bogart20:08:07

i’ve cut out all of the compiling stuff in the middle

Noah Bogart20:08:23

this is fresh from running $ clojure -X:new :template cryogen :name and then cd

seancorfield20:08:14

Hmm, so clojure -X:serve continues to run...?

seancorfield20:08:02

I can't even run that template right now:

(! 626)-> clojure -Tclj-new create :template cryogen :name 
Execution error (ExceptionInfo) at clojure.tools.deps.alpha.extensions.maven/get-artifact (maven.clj:133).
Could not find artifact bouncycastle:bctsp-jdk14:jar:138 in central ()

seancorfield20:08:34

(there's a Maven relocation in play there and tools.deps doesn't support that yet)

Noah Bogart20:08:28

hm! i’m not sure then