Fork me on GitHub
#cider
<
2022-04-27
>
Drew Verlee03:04:58

[edit] solved Any idea why i would get the error:

error in process filter: Figwheel-main is not available.  Please check  for details
When running cider-jack-in-cljs with this dir-locals.el file?
((nil . ((cider-clojure-cli-aliases    . "-A:dev")
         (cider-default-cljs-repl             . figwheel-main)
         (cider-preferred-build-tool          . clojure-cli)
         (cider-figwheel-main-default-options . "dev")
         (cider-repl-display-help-banner      . nil))))
My deps file:
{:paths ["src" "resources" "target"]
 :deps {org.clojure/clojure {:mvn/version "1.10.1"}
        org.clojure/clojurescript {:mvn/version "1.10.764"}
        net.sekao/odoyle-rum {:mvn/version "0.11.0"}
        haslett/haslett      {:mvn/version "0.1.6"}}
 :aliases {:build-dev {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}
           :dev {com.bhauman/figwheel-main {:mvn/version "0.2.16"}
                 com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}}}}

Drew Verlee03:04:30

it's because i didn't say :extra-deps

Drew Verlee03:04:52

i just magically wanted them to do something 😢

practicalli-johnny06:04:10

FYI: When specifying cider-clojure-cli-alias the -A execution flag is not required, only the name(s) of the alias(es). In this case ":dev" Cider will strip any of the execution flags (-A -M -T -X) from that variable value. Cider also used the -M flag now, so -A is not technically correct use either.

👍 1
didibus05:04:47

Is there a middleware for Portal? Like if I want results to go to Portal (and not have to tap>)

genmeblog08:04:05

take a look at https://scicloj.github.io/clay/ it works with Portal (Clerk and Scittle) this way. Evaluation a form in editor (I've tested it on Emacs) results in rendering a value.

didibus17:04:35

Cool, I'll give it a shot