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?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.
I take it it worked then? 😃
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).
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.
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