-
Notifications
You must be signed in to change notification settings - Fork 50
Can't interact with shadow.cljs because Java cannot find the shadow.cljs.devtools.api/nrepl-select class #308
Comments
same issue |
Coud you share which version fo shadow-cljs you are using? |
|
I just run this with the version of shadow-cljs that is in the course Could you try restarting atom - quite the whole process - and connect again? |
I turned it all off and on again (exited the 'npm run dev' and shut down Atom(1.40.1)) and I got the same error. I bumped the version of shadow-cljs to 2.8.67, restarted everything and still got the error. |
Ah. I finally got it. Because I was working in Linux the key commands you mention in the video didn't apply so I clicked on packages > Proto Repl and picked the closest thing I could find which was either open repl or open repl from project. In retrospect its obvious that I needed to connect to a remote repl (proto-repl:remote-nrepl-connection) but that is only listed in settings > keybindings. Once I chose the correct command and entered the connection info it all worked with no errors. Thanks so much for your time and effort helping me debug this issue. If I could suggest something, please list the command's name in episode 7 below the video perhaps explaining that just connecting to a repl will not work. Thanks again. I'm very much enjoying the course. |
Great! Very glad to hear that! Just added the note to episode 7! @cbillowes I hopt this also works for you? Thanks for your feedback and helping out with resolving this issue. Hope we can close this one and also jacekschae/learn-reagent-course-files#13? |
I am using Atom 1.28.1 with the Proto-REPL 1.4.24 package installed with the default settings. I am following a Clojure tutorial by Jacek Schae who uses the following command in video 7 of his course.
(shadow.cljs.devtools.api/nrepl-select :app)
In his video the command works and the REPL connects to Shadow.cljs where he can inspect the state of the application. When I use it, I get an exception
ClassNotFoundException shadow.cljs.devtools.api java.net.URLClassLoader.findClass (URLClassLoader.java:x)
.Let me know what else I can share to help.
The text was updated successfully, but these errors were encountered: