Fork me on GitHub
#cider
<
2019-09-01
>
dpsutton06:09:54

i believe that cljs completions are broken on cider-nrepl 0.22.0 https://github.com/clojure-emacs/cider-nrepl/issues/643

robertkrahn14:09:04

Thanks for letting me know, looking into it.

robertkrahn17:09:47

once clojars is up again and I can deploy the fix it can be merged into cider via https://github.com/clojure-emacs/cider-nrepl/pull/644

dpsutton17:09:39

i found this error in a shadow project as well. I'm not sure its node specific. I've only read your commit message not hte code yet but the message makes me think its tailored to node

robertkrahn17:09:20

No, cljs.repl/setup is run in any case. But I hadn't had problems with shadow-cljs before (added support for it two weeks ago). What were the steps you used to run it? Just jack-in?

dpsutton17:09:44

yeah. just jack in in a shadow project and i was able to see it

robertkrahn17:09:04

OK, let me check again...

robertkrahn17:09:44

Testing it with shadow :node-lib and :browser targets works. If you used node before it might be just that issue. If it was the browser I would think it's something else

dpsutton17:09:32

i was using browser when i first noticed it

dpsutton17:09:17

clojars issue should now be resolved

bozhidar11:09:27

Hmm, that looks bad. Let’s hope that @robertkrahn will be able to take a look at the problem soon.

dpsutton16:09:07

@bozhidar any chance you can release cider-nrepl 0.22.1

dominicm16:09:30

I think there's some clojars issues

dpsutton16:09:07

ah i see. thanks

lread17:09:52

Hello people of cider! I am keen to try out REBL with cider and was pointed to this brief guide: https://github.com/cognitect-labs/REBL-distro/wiki/REBL-and-nREPL. Before I dig in, I thought I’d consult the ones who know best, is this the easiest path to REBL with cider?

johanatan18:09:59

anyone else seeing this?

[nREPL] Starting server via clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/piggieback {:mvn/version "0.4.1"} refactor-nrepl {:mvn/version "2.4.0"} cider/cider-nrepl {:mvn/version "0.22.1"}}}' -m nrepl.cmdline --middleware '["refactor-nrepl.middleware/wrap-refactor", "cider.nrepl/cider-middleware", "cider.piggieback/wrap-cljs-repl"]'
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Downloading: com/cemerick/clojurescript.test/0.2.3-SNAPSHOT/maven-metadata.xml from 
Error building classpath. Could not find artifact cider:cider-nrepl:jar:0.22.1 in central ()

error in process sentinel: Could not start nREPL server: Downloading: com/cemerick/clojurescript.test/0.2.3-SNAPSHOT/maven-metadata.xml from 
Error building classpath. Could not find artifact cider:cider-nrepl:jar:0.22.1 in central ()

dpsutton18:09:05

yes there was a clojars issue preventing the release of a new artifact. If you jack in with a prefix you can edit the cider/cider-nrepl dep to "0.21.1" or "0.22.0-beta12"

johanatan18:09:37

what does "with a prefix" mean in this context?

johanatan18:09:03

i actually have cider/cider-nrepl explicitly in my deps.edn. could i just tweak the version there?

dpsutton18:09:06

sure. you can do it there

dpsutton18:09:05

but for future reference, if you invoke something like cider-jack-in with C-c M-j, "with a prefix means C-u C-c M-j its a way to send more information to interactive functions that you invoke with m-x or key chords like that

dpsutton18:09:23

a prefix when jacking-in lets you edit the command that CIDER starts up with

johanatan00:09:31

got it. cool, thx for the info!

johanatan00:09:51

btw, do you know how to invoke with prefix in spacemacs?

dpsutton01:09:53

i don't i'm not a spacemacs user. but have you tried with C-u the same way as non-spacemacs? I think m-x is the same there but if that doesn't work check out #spacemacs

practicalli-johnny07:09:05

@U0E98NQG2 SPC u is the equivalent in Spacemacs of C-u in Emacs. So if you are using Vim style, you would use SPC u , ‘ to edit the command to jack-in. There is an example in this article http://jr0cket.co.uk/2019/07/CIDER-jack-in-to-Clojure-CLI-projects-from-Spacemacs.html

practicalli-johnny07:09:14

#spacemacs is a channel that can also help with Spacemacs specific questions

bozhidar20:09:36

I’m really sorry about the botched release. Seems I got really unlucky with the timing of it.

bozhidar20:09:25

I’ll likely address this later today or early tomorrow. In the mean time I issued a small patch to require the older cider-nrepl 0.22.0 for now.

dpsutton21:09:04

enjoy brazil! its labor day weekend. the perfect day in the US for some hiccups in the release to not affect anyone's work 🙂