Fork me on GitHub
#figwheel-main
<
2019-12-17
>
guillermo16:12:58

sorry for the very specific question, is it possible to connect from calva to a remote cljs repl ?

guillermo17:12:37

thanks im looking into it right now 😄

jr0cket13:12:06

#calva-dev is an extremely helpful channel too

guillermo16:12:41

i've successfully connected to a remote clj repl using ssh port forwarding

guillermo16:12:38

if i do the same with cljs i can connect the remote repl to my browser

guillermo16:12:57

but id like to also connect with calva to the remote repl

comparalf17:12:16

Hi, I'm maybe missing a setup option I'm getting this error:

Syntax error (FileNotFoundException) compiling at (figwheel\main.cljc:1:1).
Could not locate cljs/cli__init.class, cljs/cli.clj or cljs/cli.cljc on classpath.

mike85818:12:08

The error seems to be saying that cljs.cli isn't on your classpath. Although I'm not sure how that would happen if the CLJS namespaces required in figwheel.main before cljs.cli are there. Are you using deps.edn with a dev.cljs.edn file?

mike85818:12:30

Ah, just saw your other message. Glad you fixed it :)

comparalf18:12:58

hahahah Yes, thanks

mike85818:12:15

Still not sure why the CLI namespace would fail even if it's defined after some of the others but that can be an exploration for a different time :)

comparalf18:12:41

I found the trouble, I was missing a dep:

[org.clojure/clojurescript "1.10.339"]