Fork me on GitHub
#chlorine-clover
<
2021-03-19
>
mauricio.szabo13:03:22

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 🙂

mauricio.szabo13:03:37

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 http://java.io.FileNotFoundException, :as-text “#repl-tooling/literal-render \“class http://java.io.FileNotFoundException\“”, :parsed? true} What am I missing?

mauricio.szabo17:03:27

@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

mauricio.szabo17:03:52

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 127.0.0.1 - 
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=>

Steven Katz17:03:37

no telnet, is there an alternative?

mauricio.szabo17:03:05

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/127.0.0.1/57622

seancorfield17:03:26

@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.

mauricio.szabo17:03:14

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

mauricio.szabo17:03:01

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

mauricio.szabo18:03:44

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

mauricio.szabo18:03:28

Ok, fixed on 0.10.6