chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
mauricio.szabo 2021-03-19T13:14:22.016200Z

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.szabo 2021-03-19T13:52:37.016800Z

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

Steven Katz 2021-03-19T16:36:59.017300Z

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.szabo 2021-03-19T17:38:27.017900Z

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

Steven Katz 2021-03-19T17:39:10.018500Z

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

mauricio.szabo 2021-03-19T17:39:52.018900Z

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

Steven Katz 2021-03-19T17:40:35.019200Z

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=&gt;

Steven Katz 2021-03-19T17:41:37.019500Z

no telnet, is there an alternative?

mauricio.szabo 2021-03-19T17:44:05.020400Z

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 Katz 2021-03-19T17:45:04.020600Z

yes, i am inside the project

Steven Katz 2021-03-19T17:45:14.020900Z

this connected:

cat &lt; /dev/tcp/127.0.0.1/57622

seancorfield 2021-03-19T17:48:26.021700Z

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

Steven Katz 2021-03-19T17:48:42.022Z

ah, let me try to connect to 5555

Steven Katz 2021-03-19T17:49:35.022400Z

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.szabo 2021-03-19T17:50:14.022900Z

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

Steven Katz 2021-03-19T17:50:35.023200Z

ok i’ll restart everything from scratch and see

Steven Katz 2021-03-19T17:52:40.023400Z

no message this time

Steven Katz 2021-03-19T17:52:51.023700Z

Thanks!!!

mauricio.szabo 2021-03-19T17:53:01.024Z

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

mauricio.szabo 2021-03-19T18:02:44.024300Z

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

mauricio.szabo 2021-03-19T18:24:28.024600Z

Ok, fixed on 0.10.6