Fork me on GitHub
#cider
<
2019-09-23
>
enn17:09:42

I am seeing this error when I try to connect with cider-connect-cljs after choosing shadow-select. I don't believe it is related to the changes mentioned above from this weekend--I get an identical error with the latest stable CIDER as with the latest snapshot.

enn17:09:28

It looks like the project name is unexpectedly nil.

bozhidar18:09:34

Yeah, it seems so.

bozhidar18:09:59

Frankly, I don’t recall whether we’ve tried starting a ClojureScript REPL outside of some project and it seems you’re doing exactly this.

bozhidar18:09:28

For something like shadow this doesn’t make much sense as you won’t have build files and the shadow dep won’t be injected in your project.

bozhidar18:09:47

Actually I didn’t read very well your stacktrace - seems you’re just doing connect, not jack-in, so this should work, but you did invoke it outside of a project dir which is probably the problem.

bozhidar18:09:52

Worth reporting an issue I guess.

hiredman18:09:06

https://github.com/clojure-emacs/cider-nrepl/blob/9020b61672121725a3a8a9283fe2caaf1545cf20/src/cider/nrepl/middleware/test/extensions.clj#L16 this breaks the evaluation order of =, so effects that happen from more happen before effects from expected

bozhidar19:09:28

@hiredman Please, file a ticket for this.

bozhidar19:09:19

I’m surprised it causes any issues as this code has been around for quite a while and I don’t really anyone sharing such a problem so far.