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 🙂
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 http://java.io.FileNotFoundException, :as-text “#repl-tooling/literal-render \“class http://java.io.FileNotFoundException\“”, :parsed? true} What am I missing?
@steven.katz, are you trying to connect to a socket REPL, or nREPL?
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?
atom skatz52$ JVM_OPTS='-Dclojure.server.myrepl={:port,5555,:accept,clojure.core.server/repl}' lein repl
nREPL server started on port 57622 on host 127.0.0.1 - <nrepl://127.0.0.1:57622>
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
atom.core=>
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?
yes, i am inside the project
this connected:
cat < /dev/tcp/127.0.0.1/57622
@steven.katz The socket REPL is running on port 5555. Port 57622 is an nREPL server.
ah, let me try to connect to 5555
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...
ok i’ll restart everything from scratch and see
no message this time
Thanks!!!
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