This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-07
Channels
- # announcements (1)
- # babashka (28)
- # beginners (212)
- # calva (13)
- # clara (3)
- # clj-kondo (39)
- # cljsrn (1)
- # clojure (16)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-nl (2)
- # clojure-spec (9)
- # clojure-uk (8)
- # clojurescript (66)
- # cloverage (3)
- # code-reviews (16)
- # cursive (12)
- # data-science (2)
- # datomic (118)
- # events (1)
- # garden (2)
- # improve-getting-started (1)
- # introduce-yourself (1)
- # jobs (4)
- # missionary (5)
- # numerical-computing (1)
- # off-topic (5)
- # pathom (3)
- # polylith (71)
- # re-frame (99)
- # reagent (17)
- # remote-jobs (5)
- # shadow-cljs (35)
- # tools-deps (5)
- # xtdb (4)
Unfortunately I’m not very familiar with WSL (I don’t use Windows) and I don’t really know how IntelliJ’s recent support works either, sorry. Hopefully someone who’s actually using it can chime in and be more useful than me.
I've not had that particular error @U01JPGC1PQQ, my issues with wsl2 have been related to ports. In my experience it's better to boot the repl in wsl2 via terminal for example and then connect to cursive via a remote repl...
@U0JUM502E the ports are open, this isn't the issue. The issue is when running the application or the tests, which in that case Cursive has to run a new JVM (and not just connect to the REPL)
Hmm, to be honest I don't run my tests within intellij, I just run them at the command line on wsl2. My application does function fine when I've run it, but it effectively runs in windows if I trigger it with run configuration not wsl2.
So these don't end up being blockers for me, whereas REPL experience is the main thing I care about 😃... Sorry if that's unhelpful!
@U01JPGC1PQQ I've been running Cursive in WSL2 for some time, by running an X server (VcXsrv) and the Linux version of IntelliJ. There's a little bit of setup to enable X11 forwarding, then you're good to go: https://stackoverflow.com/questions/61110603/how-to-set-up-working-x11-forwarding-on-wsl2