This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-30
Channels
- # admin-announcements (1)
- # announcements (1)
- # babashka (8)
- # bristol-clojurians (1)
- # calva (36)
- # clojure (115)
- # clojure-europe (5)
- # clojure-italy (4)
- # clojure-nl (3)
- # clojure-norway (3)
- # clojure-uk (161)
- # clojuredesign-podcast (3)
- # clojurescript (71)
- # core-async (34)
- # cursive (26)
- # datomic (43)
- # docker (2)
- # emacs (24)
- # figwheel-main (1)
- # fulcro (36)
- # graalvm (7)
- # immutant (2)
- # jackdaw (1)
- # jobs (2)
- # leiningen (8)
- # luminus (5)
- # off-topic (29)
- # onyx (1)
- # other-languages (5)
- # pathom (6)
- # pedestal (3)
- # reagent (11)
- # ring (8)
- # shadow-cljs (42)
- # spacemacs (17)
- # specter (6)
- # tools-deps (80)
- # videos (1)
I can’t for the life of me get Cursive to connect to the nrepl that shadow-cljs has created. Any help? This is a surprisingly hard problem to google despite the fact that the shadow-cljs dev apparently uses Cursive himself.
you likely want to configure a fixed port via https://shadow-cljs.github.io/docs/UsersGuide.html#nREPL
You really are everywhere! Thanks, but this is exactly what I’m doing, but Cursive just hangs with Connecting to remote nREPL server...
Ok, for some reason it wasn’t but now it does seem to work. Now the issue is that the code I put in my starting CLJ namespace doesn’t seem to get run…?
(ns dev
(:require [shadow.cljs.devtools.api :as shadow]))
(shadow/watch :app)
(shadow/repl :app)
https://github.com/cursive-ide/cursive/issues/2216 should make that easier so Cursive can read the port shadow-cljs used without configured it
Hello! Does Cursive understand shadow-cljs npm imports like
(ns mine
(:require
["@telia/styleguide" :as styleguide]
["@telia/styleguide/assets/allicons/AllIcons" :default AllIcons]))
(AllIcons)
? It currently complains that styleguide and AllIcons "cannot be resolved"@U05224H0W do you use Cursive yourself? Is this something that makes using shadow-cljs cumbersome?
I do use Cursive yes. I disabled that particular warning so it doesn't bother me.
Thank you for your answer! Can you also share how do you disable that warning?
I actually can't remember. I disabled several years ago. Somewhere in the options you can toggle which warnings to show or how to format them
Np, I'll keep digging 🙂