Fork me on GitHub

I'm about to publish a new version that will fix these CLJS issues. Also, I'll change a little bit of the implementation to use better REPL support when they are available, as I believe "Shadow-Remote" is already stable for everyday use 🙂


Ok, new version of Chlorine published - CLJS should be working again now 🙂

Steven Katz16:03:59

Help, I’m trying to get atom and chlorine working but after following the instructions I get: Unknown error while connecting to the REPL: {:error class, :as-text “#repl-tooling/literal-render \“class\“”, :parsed? true} What am I missing?


@steven.katz, are you trying to connect to a socket REPL, or nREPL?

Steven Katz17:03:10

I tried with socket reply but the evn variable is being ignored and it is starting an nrepl


Can you see if you can telnet into the localhost and the socket-repl port?

Steven Katz17:03:35

atom skatz52$ JVM_OPTS='-Dclojure.server.myrepl={:port,5555,:accept,clojure.core.server/repl}' lein repl
nREPL server started on port 57622 on host - 
REPL-y 0.4.4, nREPL 0.8.3
Clojure 1.10.1
OpenJDK 64-Bit Server VM 11.0.10+9
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e


Steven Katz17:03:37

no telnet, is there an alternative?


Lein behaves strangely when there's no project running. Are you inside the directory that you created the project? For example, if you did lein new app my-app, did ou cd my-app before running this command?

Steven Katz17:03:04

yes, i am inside the project

Steven Katz17:03:14

this connected:

cat < /dev/tcp/


@steven.katz The socket REPL is running on port 5555. Port 57622 is an nREPL server.

Steven Katz17:03:42

ah, let me try to connect to 5555

Steven Katz17:03:35

looks like it connects, but I see this:

Execution error (FileNotFoundException) at /eval2014$loading (form-init14774099614361171044.clj:1).
Could not locate cljs/reader__init.class, cljs/reader.clj or cljs/reader.cljc on classpath.


This is probably because of the error you got when you tried to connect to nREPL. I'll check what's wrong...

Steven Katz17:03:35

ok i’ll restart everything from scratch and see

Steven Katz17:03:40

no message this time


Yes, seems that nREPL is broken on this latest version, I'll fix it


Found the issue, nREPL will be fixed as soon as the CI runs


Ok, fixed on 0.10.6