This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-22
Channels
- # adventofcode (12)
- # announcements (17)
- # babashka (46)
- # beginners (105)
- # calva (7)
- # chlorine-clover (7)
- # cider (9)
- # clj-kondo (41)
- # cljsrn (16)
- # clojure (67)
- # clojure-australia (1)
- # clojure-europe (24)
- # clojure-france (6)
- # clojure-germany (10)
- # clojure-italy (1)
- # clojure-losangeles (3)
- # clojure-nl (4)
- # clojure-uk (11)
- # clojurescript (8)
- # cursive (8)
- # data-oriented-programming (1)
- # data-science (1)
- # datomic (11)
- # defnpodcast (4)
- # events (1)
- # fulcro (34)
- # graalvm (6)
- # helix (3)
- # jackdaw (19)
- # jobs-discuss (1)
- # leiningen (9)
- # luminus (2)
- # malli (15)
- # mathematics (2)
- # meander (5)
- # mental-health (1)
- # off-topic (4)
- # pathom (23)
- # podcasts-discuss (1)
- # polylith (4)
- # quil (3)
- # re-frame (81)
- # react (1)
- # reagent (19)
- # reitit (4)
- # releases (1)
- # reveal (11)
- # shadow-cljs (54)
- # specter (14)
- # tools-deps (16)
- # vscode (2)
- # xtdb (3)
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?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
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.
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.