This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-06-27
Channels
- # announcements (5)
- # beginners (267)
- # boot (1)
- # calva (37)
- # cider (11)
- # clara (10)
- # clj-kondo (24)
- # cljsrn (13)
- # clojars (1)
- # clojure (119)
- # clojure-europe (5)
- # clojure-italy (19)
- # clojure-nl (11)
- # clojure-spec (18)
- # clojure-uk (99)
- # clojurescript (44)
- # clojurex (57)
- # community-development (6)
- # cursive (13)
- # datomic (92)
- # duct (12)
- # fulcro (1)
- # graalvm (4)
- # jobs (1)
- # kaocha (6)
- # luminus (3)
- # lumo (9)
- # off-topic (20)
- # pathom (6)
- # re-frame (21)
- # reagent (2)
- # reitit (9)
- # remote-jobs (4)
- # shadow-cljs (32)
- # spacemacs (3)
man, I stop writing clojure for three months and things really heat up on the vscode tooling front
> Downloading: cider/cider-nrepl/0.21.1/cider-nrepl-0.21.1.pom from https://repo.clojars.org/ > Downloading: xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.jar from https://repo1.maven.org/maven2/ > Error building classpath. Could not find artifact bouncycastle:bctsp-jdk14:jar:138 in central (https://repo1.maven.org/maven2/) > The terminal process terminated with exit code: 1
New Calva lets you remove all nrepl-ish dependencies from your project. (Though from that error it looks like some other cruft, but anyway.)
Hi @pez I responded in thread wrt the version
So, Iâm a little confused on the new jack-in process (I was a little confused on the old jack-in as well). What is the exact sequence of things I should do to jack in, starting with opening VS Code? Right now my process is to run shadow-cljs watch app
, try jacking in, and (when that doesnât work), try killing shadow and restarting until it works (which it always eventually does). It seems like Calva is trying to be automagical with the jack in, and Iâm happy to let it, I just donât know how yet.
@d4hines, old Calva did not have jack-in. New Calva makes a distinction between 1. Connecting to a running REPL, and 2. Letting Calva start the REPL (a k a Jack-in) Try doing nothing before you jack-in, except opening the project in vscode.
Ooooh, Ok. I think I was combining those in my head.
You also need to clean your project files and profile (dunno if shadow cares about the profile) from any cider/nrepl deps.
I should put something about the migration in the readme. Remind me if I seem to forget it. đ
When I try opening VS Code, and running Jack In, I get the error Executing task: /user/local/bin/npx <
. But it errors out with You must supply a command
.
I searched for it in this channel, and one other person had something that sounded similar, but I didnât see any resolution.
Yeah, it asks for the build, and I select :app
.
Admittedly I have a weird set up, due to the browser being in a VM.
Until we find a solution for jack-in you can use old connect like so:
1. Start the repl with shadow-cljs -d cider/cider-nrepl:0.21.1 watch :app
2. Connect.
Do i need the -d
?
It seems to work without it.
That might mean you have the dependency in your project file, which you shouldn't have. đ
Aaaah.
Where is this project file?
I know thatâs a dumb question đ