calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
worrelsik 2021-04-22T21:31:16.144300Z

When I create a reagent-project using clj -X:new :template figwheel-main :name my-cljs/weer :args '["+deps" "--reagent"]' and try to Jack-in using

deps.edn + Figwheel Main, :fig and :build aliases
the browser opens localhost:9500 and code-changes in weer.cljs show up in the browser indeed. But the Jack-in process seems to hang: no output after these lines in output.calva-repl: ; Jacking in... ; nREPL Connection was closed ; Starting Jack-in Terminal: clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.8.3"},cider/cider-nrepl {:mvn/version,"0.25.11"},cider/piggieback {:mvn/version,"0.5.2"}}}' -A:fig:build Also no in-line evaluation possible in weer.cljs. Happens both on MS Windows and Ubuntu. Can somebody reproduce this?

worrelsik 2021-04-23T07:57:22.150600Z

Well, then good morning to you, too! You already did your first 'good deed' today!😀 Thanks very much for the tip to omit the :build alias.

pez 2021-04-23T09:06:57.154900Z

I take it it worked then? 😃

worrelsik 2021-04-23T11:47:38.155400Z

Yes it did. I did not know about these conflicting -m and :main-opts options (I still need to grab my Jack-In 101 Certificate, but first I'm targeting Barf and Slurp 101).

pez 2021-04-23T12:14:42.155600Z

Sounds like you have at least glanced at the jack-in guide. 😃 I don’t recall if the main-opts thing is mentioned there, but if not we should add it. I pushed a change to put some attention to the potential problem with main-opts in this vsix: https://13147-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.193-dev-3fb8219d.vsix Will be part of the next release. The description of the change is like so: • If we at jack-in to a deps.edn project see that there are aliases that specify `:main-opts` we will show an information message warning about selecting them. • The message box has a button to disable the warning. ◦ If clicked, the warning will not show again for this project.

worrelsik 2021-04-22T21:45:16.144400Z

Something to do with Rebel readline. In VSC terminal: WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) Unable to detect a system Terminal, you must not launch the Rebel readline from an intermediate process. If you are using lein` you may need to use lein trampoline.` In shell: [Rebel readline] Type :repl/help for online help info