figwheel-main

figwheel-main http://figwheel.org
guillermo dejavu 2019-12-17T16:01:00.002600Z

hi

1👋
guillermo dejavu 2019-12-17T16:31:58.004Z

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

practicalli-john 2019-12-18T13:17:06.015600Z

#calva-dev is an extremely helpful channel too

guillermo dejavu 2019-12-17T16:32:41.004800Z

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

guillermo dejavu 2019-12-17T16:33:38.005700Z

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

guillermo dejavu 2019-12-17T16:33:57.006100Z

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

guillermo dejavu 2019-12-17T17:02:37.007600Z

thanks im looking into it right now 😄

RafaMedina 2019-12-17T17:40:16.008500Z

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.

RafaMedina 2019-12-17T18:02:41.009900Z

I found the trouble, I was missing a dep:

[org.clojure/clojurescript "1.10.339"]

pyrmont 2019-12-17T18:06:08.013300Z

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?

pyrmont 2019-12-17T18:06:30.013900Z

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

RafaMedina 2019-12-17T18:06:58.014100Z

hahahah Yes, thanks

pyrmont 2019-12-17T18:09:15.015400Z

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 :)